Add 'lock' device class (#4417)

* Add monitored_conditions documentation.

* Remove monitored_conditions from example

* Add missing 'week' monitored_condition

* Add 'lock' device class

* Invert lock settings

As per https://github.com/home-assistant/home-assistant/pull/11640

* Tweak formatting
This commit is contained in:
Sean Wilson 2018-02-28 16:25:58 -05:00 committed by Paulus Schoutsen
parent 73fc2cebd2
commit 52387b95c6

View File

@ -22,6 +22,7 @@ The way these sensors are displayed in the frontend can be modified in the [cust
- **gas**: `On` means gas detected, `Off` means no gas (clear)
- **heat**: `On` means hot, `Off` means normal
- **light**: `On` means light detected, `Off` means no light
- **lock**: `On` means open (unlocked), `Off` means closed (locked)
- **moisture**: `On` means moisture detected (wet), `Off` means no moisture (dry)
- **motion**: `On` means motion detected, `Off` means no motion (clear)
- **moving**: `On` means moving, `Off` means not moving (stopped)