Contact sensor showing as switch. Help to change to door

Hi Guys
I have a door contact sensor that shows as a switch , how can I change it to a door ?
I am able to use HELPER but it only comes up as a cover but no door ?

Please can send me in the right direction.

Thanks

Door and windows are typically Binary sensors. In Helpers, select Template > Binary sensor and set the Device Class to “door”. The value for the State Template field should be something like:

{{ is_state('switch.example', 'on') }}
1 Like

Thanks
For some reason my Alarm System ( Door contact ) is coming up as a SWITCH ?
Anyway around this ?
Thanks

Not really. That is controlled by the alarm integration you are using. There is no way for a user to directly change the switch entity to a binary_sensor, your only option is to create a proxy/helper binary_sensor entity as described above.

If the integration you are using is part of core you should raise an issue on the HA Github Issues page. If it is a custom integration you should raise an issue on their Github repository.

1 Like

You a star thanks for the help