Hi Wim,
When the plugin is restarted by any mean, values of switched are updated.
HS Events for theses switches, need to be set to '' the value has been set to '' '' ,because it is possible to receive the same command two times in a row.
The problem here is when the plugin restart, it updates the value of the switches and events are triggered for nothing.
Would it be possible to NOT update those values at startup if the device is a switch ( at least and only at startup do not update the value if it is the same) ?
Thanks
When the plugin is restarted by any mean, values of switched are updated.
HS Events for theses switches, need to be set to '' the value has been set to '' '' ,because it is possible to receive the same command two times in a row.
The problem here is when the plugin restart, it updates the value of the switches and events are triggered for nothing.
Would it be possible to NOT update those values at startup if the device is a switch ( at least and only at startup do not update the value if it is the same) ?
Thanks
Comment