Window or door contact open/closed instead on/off

Hello everyone,

Can someone explain to a newbie in HA how to teach my window or door contact so that it displays open/closed instead of off in the dashboard?

I tried searching but only found something from 2023. A lot has happened since then.

Thanks in advance.
Robert

Sensor: Zigbee 3.0
DoorWindowSensor
Model: ZD06
HomeAssistant: 2025.4.1 on Raspberry 5
Frontend: 20250404.0

Is the contact sensor a binary_sensor?

If so you can change the Show As Here

Go to the entity settings in your dashboard. There’s a Show As option with a drop-down where you can select window or door

Edit: ninja’d by @LiQuid_cOOled

1 Like

Too many sessions open on my end :ninja:

1 Like

Thank you both very much.

I’ll test it right away. It would be too easy if it were that simple :wink:

I’m amazed at how easy that was.
Thank you very much.

1 Like