Skip to content

Commit 58e973d

Browse files
arsaboofabaff
authored andcommitted
Cleaned up binary_sensor docs (home-assistant#3039)
1 parent d29eb9a commit 58e973d

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
---
22
layout: page
33
title: "Binary Sensor"
4-
description: "Instructions how to setup your binary sensors with Home Assistant."
4+
description: "Instructions on how-to setup binary sensors with Home Assistant."
55
date: 2015-11-20 14:00
66
sidebar: true
77
comments: false
88
sharing: true
99
footer: true
1010
---
1111

12-
Binary sensors are gathering information about state of switches, contacts, pins, and alike. The return value of those sensors is usually digital (1/0). This means that those sensors knows only two states: **0/off/low/closed/false** and **1/on/high/open/true**.
12+
Binary sensors gather information about state of switches, contacts, pins, and alike. The return value of those sensors is usually digital (1/0). This means that those sensors knows only two states: **0/off/low/closed/false** and **1/on/high/open/true**.
1313

14-
Knowing that there are only two states allows Home Assistant to represent the sensor better in the frontend.
14+
Knowing that there are only two states allows Home Assistant to represent these sensors in a better way in the frontend according to their functionality.
1515

16-
The display style of each entity can be modified in the [customize section](/getting-started/customizing-devices/). The following device classes are supported for binary sensors:
16+
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:
1717

1818
- **None**: Generic on/off
19-
- **cold**: On means cold (or too cold)
20-
- **connectivity**: On means connection present, Off means no connection
21-
- **gas**: CO, CO2, etc
22-
- **heat**: On means hot (or too hot)
19+
- **cold**: `On` means cold
20+
- **connectivity**: `On` means connection present, `Off` means no connection
21+
- **gas**: `On` means gas detected
22+
- **heat**: `On` means hot
2323
- **light**: Lightness threshold
24-
- **moisture**: Specifically a wetness sensor
25-
- **motion**: Motion sensor
26-
- **moving**: On means moving, Off means stopped
27-
- **occupancy**: On means occupied, Off means not occupied
28-
- **opening**: Door, window, etc. On means open, Off means closed
29-
- **power**: Power, over-current, etc
30-
- **safety**: On means unsafe, Off means safe
31-
- **smoke**: Smoke detector
32-
- **sound**: On means sound detected, Off means no sound
33-
- **vibration**: On means vibration detected, Off means no vibration
24+
- **moisture**: `On` means wet
25+
- **motion**: `On` means motion detected
26+
- **moving**: `On` means moving, `Off` means stopped
27+
- **occupancy**: `On` means occupied, `Off` means not occupied
28+
- **opening**: `On` means open, `Off` means closed
29+
- **power**: Power, over-current, etc.
30+
- **safety**: `On` means unsafe, `Off` means safe
31+
- **smoke**: `On` means smoke detected
32+
- **sound**: `On` means sound detected, `Off` means no sound
33+
- **vibration**: `On` means vibration detected, `Off` means no vibration
3434

3535
For analog sensors please check the [component overview](https://home-assistant.io/components/#sensor).

0 commit comments

Comments
 (0)