Did the device classes change or am I missing something? I want to use device_class: door however it gives an error about door doesn’t exist. Also trying to do it from the Customization GUI door isn’t an option. Any help?
- platform: mqtt name: 'Patio Door' state_topic: 'home/PatioDoor'
I don’t know much about Mqtt, but I know I define device_class under customize.yaml and I usually have success changing it.
It would have to be a binary_sensor to have door as a valid option, see the binary sensor docs vs the sensor docs.
binary_sensor
door
doh! I knew I was missing something. Thanks, had it in the wrong file