When a plugs is initialized it gains the state variable. When a switch is then triggered the target state is verified through `_expect`, however it is never written back into that state variable. This leads to it being out of sync.