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.
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