I have this little app running, which basically sends a push notification when the mode changes. This way I can track when the mode changes even if I’m not around.
This works really well, but something really weird happened yesterday while I was playing with the WaterFurnace SmartDevice that I’m working on.
I have a field coming from the WaterFurnace named mode, which is the mode for the furnace. The SmartApp that powers it sets a value on the device and it then uses
sendEvent to setup the tiles. Pretty simple really.
Except, when I sent this:
sendEvent(name: "mode", value: "Off")
sendEvent(name: "mode", value: "Auto")
I got this series of Push Notifications:
Mode changed from Home to Off
Mode changed from Off to Auto
Now my question is, why would a SmartDevice creating it’s own
mode event cause the location to send that event? This smells of a bug to me.