#Invert a binary sensor

1 messages · Page 1 of 1 (latest)

buoyant torrent
#

I want to display the state of my voice assistant on my dashboard. Sonos provides a "microphone" binary sensor for this and I can see if the mic is on of not.
Today, I got my HA Voice device, that has a switch "mute" which displays the other way round.

Is there an easy way to invert this in a template sensor?