Door icons not working

I have several door sensors that are setup as binary sensors in HA (via my Wink hub), when I first installed on V.60 the sensor icons automatically setup as the “door” icon and worked with open and close. When I updated to V.61 and now V.62 I have lost the door icons and just a black square shows on the HA page as the icon for those sensors, is this a Version issue or something else?

I believe this changed in a recent release. Doors now have their own binary sensor device class, which you need to set in the customize section of configuration.yaml like so:

customize:
  binary_sensor.your_sensor_name:
    device_class: door

Then go to Configuration, General, Reload Core Config. Then open and close the door once, and the icon should change to the Door icon.

3 Likes

Worked like a charm! thanks!

1 Like

Is there a device class for windows then? My Openings all have a black square, I’m changing the doors to the new class but the windows would remain as a black square.

EDIT: Answering my own question, YES, there is a device_class: window as well.

Thanks

1 Like