Switching logic of a 'Show as' garage door?

When I choose to show my binary sensor as a garage door

ON = open
OFF = closed.

But in my case whats actually true is
ON = closed
OFF = open

Is there a way to switch this? I already have a template cover for my garage door, and that works great. I am just trying to modify the actual binary sensor entity.

Its shows OPEN but its actually CLOSED right now.

How was the binary sensor added to home assistant?

It came across via MQTT. I believe I found a python script that runs to find all shelly MQTT devices.

I also tried adding the shelly via ShellyForHass integration and when I choose to show as garage door, it shows open as well.

image

So this python script discovers your devices (rather than you manually adding them)?

You need to talk to whoever wrote it.

Why aren’t you using the core Shelly integration?

That works exceptionally well.

Script, ShellyForHass, Shelly, it doesnt matter. I just added the core Shelly integration and when I choose to show as garage door, it shows open.

It does matter.

If you are using mqtt you can forgo the python script and define the sensor manually with any state value template you want.

Ok I will try that. I used to use Shelly integration but then switched to the python script. Cant remember why though.

I was going to suggest wrapping your sensor in a template sensor that switched the logic.