mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +00:00
Binary sensor: add section on state (#34674)
This commit is contained in:
parent
1a4f2b55a7
commit
d4ac5bda90
@ -29,6 +29,10 @@ or using an [input boolean helper](/integrations/input_boolean).
|
||||
|
||||
{% include integrations/building_block_integration.md %}
|
||||
|
||||
## The state of binary sensor
|
||||
|
||||
A binary sensor can have two states: **on** or **off**. However, in the frontend, they might not be called **on** or **off**, but use an alternative term to be more meaningful in context. For example, hot/cold, locked/unlocked. The meaning of an **on** or **off** state depends on the device class.
|
||||
|
||||
### Device class
|
||||
|
||||
{% include integrations/device_class_intro.md %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user