Question regarding dzvents triggers
Posted: Thursday 20 September 2018 14:42
Hi all,
I have some questions regarding dzvents triggers:
(TestDev is a Switch)
1. Will a on = { devices = { 'TestDev' } } be triggered when the device is on and a state change on->on occurs (yes, on to on)?
The background is, that I have a device which can be on or off. Additionally, it sends periodic status reports, so it is possible that there will be a on->on state change.
2. Does a domoticz switch item have a lastState flag?
3. changed: Boolean. True if the device was changed -> When exactly will this be set?
Thank you
I have some questions regarding dzvents triggers:
(TestDev is a Switch)
1. Will a on = { devices = { 'TestDev' } } be triggered when the device is on and a state change on->on occurs (yes, on to on)?
The background is, that I have a device which can be on or off. Additionally, it sends periodic status reports, so it is possible that there will be a on->on state change.
2. Does a domoticz switch item have a lastState flag?
3. changed: Boolean. True if the device was changed -> When exactly will this be set?
Thank you
