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 behaviour can be inverted by setting the
on_state configuration variable to
To configure a digital output pin as light, add the following to your
light: - name: Desk Lamp platform: zigbee pin: 0
- name (Required): The name you would like to give the light in Home Assistant.
- pin (Required): The number identifying which pin to use.
- address (Optional): 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.
- on_state (Optional): Either
low, depicting whether the digital output pin is pulled
lowwhen the light is turned on.