I am trying to integrate a switchbot into home assistant via MQTT. I have setup a python script that is subscribed to a topic and when it receives this topic, it will trigger the switchbot. The switchbot is configured to be in pusher mode, so it will press the switch and return to its original state. This all works, however, I don’t like how the switchbot is represented in home assistant. Being a pusher state, it doesn’t really have an on/off state. However, when I include the switch in my lovelace dashboard, I get two lightening bolts for on and off. Neither is actually relevant. Is it possible to have a single trigger instead?
Here is my config:-
- platform: mqtt
command_topic: "switchbot/botWhite/switch"
name: "Flick switchbot white"