Hi all,
I have created an mqtt “switch”. It only acts one way (ie issuing a payload and doesn’t follow the state of the device).
- platform: mqtt
name: "Disable Motion Detection (Front)"
command_topic: "blue_iris/admin"
qos: 1
payload_on: "camera=front&motion=0"
payload_off: "camera=front&motion=1"
retain: true
But in the UI (where it has been automatically added to the dashboard), it is showing the state as two separate icons (both as flashes, one with a line striked through it). How can I change these state icons to be a single toggle icon like all my other switches? (it appears it is displaying as two icons due to me not having the state config defined in the MQTT switch config