mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-07 03:28:58 +00:00

* Fix a bunch of typos/spelling mistakes * Removed extra spaces from emulated_hue * Correct device type. of binary_sensor.enocean.markdown
1.3 KiB
1.3 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | KNX Switch | Instructions on how to integrate KXN switches with Home Assistant. | 2016-06-24 12:00 | true | false | true | true | knx.png | DIY | 0.24 | Local Polling |
The knx
switch component is used as in interface to switching actuators.
To use your KNX switch in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
switch:
- platform: knx
name: KNX Switch
address: 0/0/1
- name (Optional): A name for this devices used within Home assistant
- address (Required): The KNX group address that is used to turn on/off this actuator channel
- state_address (Optional): Some KNX devices can change their state internally without any messages on the KXN bus, e.g. if you configure a timer on a channel. The optional
state_address
can be used to inform Home Assistant about these state changes. If a KNX message is seen on the bus addressed to the given state address, this will overwrite the state of the switch object. For switching actuators that are only controlled by a single group address and can't change their state internally, you don't have to configure the state address.