home-assistant.io/source/_components/light.zigbee.markdown
2018-10-24 16:11:36 +02:00

1.5 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Zigbee Light Instructions on how to set up Zigbee lights within Home Assistant. 2016-01-28 12:38 true false true true zigbee.png Light 0.12 Local Polling

A Zigbee light in this context is a light connected to one of the digital output pins on a Zigbee module. It can simply be switched on and off. By default, a light is considered on when the Zigbee device's digital output is held high and considered off when it is held low. This behavior can be inverted by setting the on_state configuration variable to low.

To configure a digital output pin as light, add the following to your configuration.yaml file:

light:
  - name: Desk Lamp
    platform: zigbee
    pin: 0

{% configuration %} name: description: The name you would like to give the light in Home Assistant. required: true type: string pin: description: The number identifying which pin to use. required: true type: integer address: description: The long 64-bit address of the remote Zigbee device whose digital output pin you would like to switch. Do not include this variable if you want to switch the local Zigbee device's pins. required: false type: string on_state: description: Either high or low, depicting whether the digital output pin is pulled high or low when the light is turned on. required: false default: high type: string {% endconfiguration %}