Rename sensor_class to device_class

This commit is contained in:
Adam Mills 2017-02-10 19:10:24 -05:00
parent 4b6358c12b
commit b83f3855ee
No known key found for this signature in database
GPG key ID: BF90A5D750629906
8 changed files with 19 additions and 19 deletions

View file

@ -28,4 +28,4 @@ Configuration variables:
- **id** (*Required*): The ID of the device. This is the 4 bytes long number written on the dimmer.
- **name** (*Optional*): An identifier for the switch in the frontend.
- **sensor_class** (*Optional*): The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.
- **device_class** (*Optional*): The [type/class](/components/binary_sensor/) of the sensor to set the icon in the frontend.