Binary sensor: add section on state (#34674)

This commit is contained in:
c0ffeeca7 2024-09-11 10:36:32 +02:00 committed by GitHub
parent 1a4f2b55a7
commit d4ac5bda90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %}