Device_class question

Can I use the device_class option in my customize.yaml file to change the state names and icons for an existing z-wave sensor or do I need to create a new sensor to use the device_classs option?

You can customize then.

Thanks. I thought that was the case. I now realize that I had an indentation error. Got it working. Thanks again.

  binary_sensor.basement_stairs_door_sensor:
   device_class: door
  binary_sensor.garage_door_sensor:
   device_class: door
  binary_sensor.laundry_door_sensor:
   device_class: door
  binary_sensor.deck_door_sensor:
   device_class: door
  binary_sensor.front_door_sensor:
   device_class: door
  binary_sensor.back_door_sensor:
   device_class: door

Now my z-wave door sensors have better icons and say open/closed instead of on/off. :slight_smile: