Add device class for low battery (#4082)

This commit is contained in:
Matt Schmitt 2017-11-29 06:14:02 -05:00 committed by Fabian Affolter
parent c33016dc8d
commit a518843b4a

View File

@ -14,6 +14,7 @@ Binary sensors gather information about the state of devices which have a "digit
The way these sensors are displayed in the frontend can be modified in the [customize section](/getting-started/customizing-devices/). The following device classes are supported for binary sensors: The way these sensors are displayed in the frontend can be modified in the [customize section](/getting-started/customizing-devices/). The following device classes are supported for binary sensors:
- **None**: Generic on/off. This is the default and doesn't need to be set. - **None**: Generic on/off. This is the default and doesn't need to be set.
- **battery**: `On` means low, `Off` means normal
- **cold**: `On` means cold - **cold**: `On` means cold
- **connectivity**: `On` means connection present, `Off` means no connection - **connectivity**: `On` means connection present, `Off` means no connection
- **gas**: `On` means gas detected - **gas**: `On` means gas detected