I am using a Z-Wave tilt sensor to monitor if my garage is open or not. Currently, it shows “off” when it is closed and “on” when it is open. I want it to show “closed” when it is closed and “open” when it is open. I tried adding a device_class: door
attribute in customize entities (which added it to customize.yaml) but that didn’t work. I can’t find any other place to add this. Does anyone know if this can be done?
Have you restarted Home Assistant since you modified customize.yaml
or did you execute Reload Location & Customizations?
Restarting applies the customization immediately.
Reloading applies the customization only after the entity changes state.
From the documentation:
New customize information will be applied the next time the state of the entity gets updated.
Thanks! I was just reloading the customizations, not HA. Reloading HA did it.