So, i have a virtual switch i'm trying to use to tie a mimolite (that i use to control my garage doors) with a tilt sensor from ecolink that shows door status. I have an event that i want to run that will check the status of the ecolink tilt sensor and then set the virtual switch to the same value if they don't match. however, when i run something like this:
hs.SetDeviceValueByRef(259, 255, False)
Imperihome doesn't see that the value has changed and update the UI to reflect it. If i run it with True instead of False, it works fine.
Any ideas??
Thanks
hs.SetDeviceValueByRef(259, 255, False)
Imperihome doesn't see that the value has changed and update the UI to reflect it. If i run it with True instead of False, it works fine.
Any ideas??
Thanks
Comment