HestiaPi / hestia-touch-openhab

OpenHAB2 files for HestiaPi Touch model
GNU General Public License v3.0
60 stars 17 forks source link

Fix for hotwater not restarting on reboot #32

Closed rkoshak closed 4 years ago

rkoshak commented 4 years ago

Fixes #31.

Because the Mode Items do not change when recommanding them the Mode Rule never executes to kick off the changes to the devices. Previously I kicked things off by changing the sensor readings but HotWater is not based on a sensor reading. So I change to just call the lambdas directly for all the devices. Therefore, at the end of initializing if the Mode is ON, the device will turn ON.

Signed-off-by: Richard Koshak rlkoshak@gmail.com