After 2022.4 some Switches transformed from toggle to 2-button

This changed quite a while back - if you search in the forum there are plenty of discussions re MQTT switches and binary sensors.

The default state was changed from off to unknown, the fix is to ensure that your device sets the retain flag. Depending on your device there are a bunch of methods to do this - see the forum discussions.

1 Like