I am updating an old HA installation. The frontend was only composed of toggle buttons from mqtt switches. I decided to proceed with a fresh installation and manually reconfigure the mqtt entities.
The necessary changes were made and everything seems to be ok.
However all the toggles buttons (similar to the one seen in front of “fan light”) were replaced by two separate icons (similar to the one seen in front of “dining”).
(merely illustrative image)
How can I go back to the toggle buttons?
Already seen some references talking about the assumed_state: false variable but I wasn’t able to solve the problem.
Thanks
HA info
Home Assistant 2023.10.3
Supervisor 2023.10.0
Operating System 11.0
Interface: 20231005.0 - latest
Was struggling with the same thing but your solution helped. Adding the availability_topic, payload_available and payload_not_available solved it for me. Thank you very much!