mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Add title
This commit is contained in:
parent
665db64fe7
commit
2c1fdc2cd8
@ -15,26 +15,24 @@ ha_iot_class: "Local Polling"
|
|||||||
|
|
||||||
The `knx` sensor platform allows you to monitor [KNX](http://www.knx.org) binary sensors.
|
The `knx` sensor platform allows you to monitor [KNX](http://www.knx.org) binary sensors.
|
||||||
|
|
||||||
|
## {% linkable_title Configuration %}
|
||||||
|
|
||||||
The `knx` component must be configured correctly, see [KNX Component](/components/knx).
|
The `knx` component must be configured correctly, see [KNX Component](/components/knx).
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: knx
|
- platform: knx
|
||||||
name: "Entrance.Motion.Sensor"
|
|
||||||
address: '6/0/2'
|
address: '6/0/2'
|
||||||
device_class: 'motion'
|
|
||||||
#significant_bit: 2
|
|
||||||
#reset_after: 100
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
|
- **address** (*Required*): KNX group address of the binary sensor.
|
||||||
- **name** (*Optional*): A name for this device used within Home Assistant.
|
- **name** (*Optional*): A name for this device used within Home Assistant.
|
||||||
- **address**: KNX group address of the binary sensor.
|
- **device_class** (*Optional*): HASS device class e.g., "motion".
|
||||||
- **device_class** (Optional): HASS device class e.g., "motion".
|
- **significant_bit** (*Optional*): Specify which significant bit of the KNX value should be used. Default is 1.
|
||||||
- **significant_bit** (Optional): Specify which significant bit of the KNX value should be used. Default is 1.
|
- **reset_after** (*Optional*): Reset back to OFF state after specified milliseconds.
|
||||||
- **reset_after** (Optional): Reset back to OFF state after specified milliseconds.
|
|
||||||
|
|
||||||
You can also attach actions to binary sensors (e.g., to switch on a light when a switch was pressed). In this example, one light is switched on when the button was pressed once and two others when the button was pressed a second time.
|
You can also attach actions to binary sensors (e.g., to switch on a light when a switch was pressed). In this example, one light is switched on when the button was pressed once and two others when the button was pressed a second time.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user