Display the reading after having read the sensor
First step in making the config screen behave better; Always clear the
screen when we are in edit mode so we know. It is very hard otherwise to
know when the buttons have worked or not.
We return an int, so use an int
Only process sensors etc when t > 0s, we use 0 as a signal it has not
been done.
Display and hide the monitor action label properly.
Redraw config screen during edits as well
Set proper font and clear screen for editing the interval as well
Remake how to interpret the interval and trigger values. Make the sensor
open if "value is lower then trigger OR at least every interval
minutes". This way we still can have a failsafe if the sensor for some
reasno fails.
Update display of overview.
Display the time until next open under the current perctage reading in
the overview screen upper right.