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

@ -13,7 +13,7 @@ Binary sensors are gathering information about state of switches, contacts, pins
Knowing that there are only two states allows Home Assistant to represent the sensor better in the frontend.
Most binary sensors support the `sensor_class:` which let you specify the type of your sensor. The following types are supported:
Most binary sensors support the `device_class:` which let you specify the type of your sensor. The following types are supported:
- **None**: Generic on/off
- **cold**: On means cold (or too cold)