Skip to content

Commit d85fe54

Browse files
authored
Binary sensor classes (home-assistant#1396)
* Link to binary sensor docs for sensor_class * Include link to sensor_class (fixes home-assistant#1346)
1 parent 3285374 commit d85fe54

File tree

3 files changed

+10
-25
lines changed

3 files changed

+10
-25
lines changed

source/_components/binary_sensor.envisalink.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ha_category: Binary Sensor
1313
ha_iot_class: "Local Push"
1414
---
1515

16-
The `envisalink` platform allows you to get data from your [Envisalink](http://www.eyezon.com/) binary sensors from within Home Assistant.
16+
The `envisalink` platform allows you to get data from your [Envisalink](http://www.eyezon.com/) binary sensors from within Home Assistant.
17+
18+
Check the [type/class](/components/binary_sensor/) list for a possible visualization of your zone.
1719

1820
The requirement is that you have setup your [Envisalink hub](/components/envisalink/).

source/_components/envisalink.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ Configuration variables:
6666
- **keepalive_interval** (*Optional*): This is a periodic heartbeat signal (measured in seconds) sent to your Envisalink board to keep it from restarting. This is required for DSC and Honeywell systems. Defaults to `60` seconds.
6767
- **zonedump_interval** (*Optional*): This is an interval (measured in seconds) where the evl will dump out all zone statuses. This is required for Honeywell systems, which do not properly send zone closure events. DSC boards do not technically need this. Default: `30`
6868
- **panic_type** (*Optional*): Both DSC and Honeywell boards support a "panic" alarm. This is used when the alarm_trigger service is called in home assistant. This determines which type of panic alarm to raise. Default = Police. Valid values are: Police, Fire, Ambulance
69-
- **zones** (*Optional*): Envisalink boards have no way to tell us which zones are actually in use, so each zone must be configured in Home Assistant. For each zone, at least a name must be given. *Note: if no zones are specified, Home Assistant will not load any binary_sensor components.*
69+
- **zones** (*Optional*): Envisalink boards have no way to tell us which zones are actually in use, so each zone must be configured in Home Assistant. For each zone, at least a name must be given. For more information on the available zone types, take a look at the [Binary Sensor](/components/binary_sensor.envisalink/) docs. *Note: If no zones are specified, Home Assistant will not load any binary_sensor components.*
7070
- **partitions** (*Optional*): Again, Envisalink boards do not tell us what is in use and what is not, so each partition must be configured with a partition name. If no partition parameter is specified, then no alarm_panel or sensor components are loaded.
7171

source/getting-started/customizing-devices.markdown

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,30 +39,13 @@ homeassistant:
3939
4040
| Attribute | Description |
4141
| --------- | ----------- |
42-
| friendly_name | Name of the entity
43-
| hidden | Set to `true` to hide the entity.
44-
| entity_picture | Url to use as picture for entity
45-
| icon | Any icon from [MaterialDesignIcons.com](http://MaterialDesignIcons.com). Prefix name with `mdi:`, ie `mdi:home`.
46-
| assumed_state | For switches with an assumed state two buttons are shown (turn off, turn on) instead of a switch. By setting `assumed_state` to `false` you will get the default switch icon.
47-
| sensor_class | Sets the class of the sensor, changing the device state and icon that is displayed on the UI (see below).
42+
| `friendly_name` | Name of the entity
43+
| `hidden` | Set to `true` to hide the entity.
44+
| `entity_picture` | Url to use as picture for entity
45+
| `icon` | Any icon from [MaterialDesignIcons.com](http://MaterialDesignIcons.com). Prefix name with `mdi:`, ie `mdi:home`.
46+
| `assumed_state` | For switches with an assumed state two buttons are shown (turn off, turn on) instead of a switch. By setting `assumed_state` to `false` you will get the default switch icon.
47+
| `sensor_class` | Sets the [class of the sensor](/components/binary_sensor/), changing the device state and icon that is displayed on the UI (see below).
4848

49-
| sensor_class | Description |
50-
| ------------ | ----------- |
51-
| cold | On means cold (or too cold) |
52-
| connectivity | On means connection present, Off means no connection
53-
| gas | CO, CO2, etc. |
54-
| heat | On means hot (or too hot) |
55-
| light | Lightness threshold |
56-
| moisture | Specifically a wetness sensor |
57-
| motion | Motion sensor |
58-
| moving | On means moving, Off means stopped |
59-
| occupancy | On means occupied, Off means not occupied |
60-
| opening | Door, window, etc. |
61-
| power | Power, over-current, etc. |
62-
| safety | On means unsafe, Off means safe |
63-
| smoke | Smoke detector |
64-
| sound | On means sound detected, Off means no sound |
65-
| vibration | On means vibration detected, Off means no vibration |
6649

6750
### {% linkable_title Reloading customize %}
6851

0 commit comments

Comments
 (0)