Closed lbussy closed 1 year ago
I think there are two separate issues here:
An actuator does not deactivate when deleted
This is a legitimate issue. I'm adding an explicit toggle off to the "device uninstall" code.
A user sets a relay with the incorrect inversion state, resulting in inadvertent activation
If a user adds a relay with an incorrect inversion state, the control algorithm will attempt to toggle the relay "off" - but apply the inversion state and end up inadvertently turning the relay on. This is correct behavior, as the controller is following the user's instructions when attempting to turn off the relay. This cannot be corrected for.
If you add an actuator, then delete it, the state it had when it was defined persists.
For example: