zigbee binary sensor in this context is a device connected to one of the digital input pins on a Zigbee module. The states reported by such a device are limited to
off. By default, a binary sensor is considered
on when the Zigbee device’s digital input pin is held ‘high’ and considered
off when it is held
low. This behavior can be inverted by setting the
on_state configuration variable to
To enable a digital input pin as binary sensor in your installation, add the following lines to your
# Example configuration.yaml entry binary_sensor: - platform: zigbee name: Hallway PIR Sensor pin: 0
(string)(Required)The name you would like to give the binary sensor in Home Assistant.
(integer)(Required)The number identifying which pin to use.
(string)(Optional)The long 64-bit address of the remote Zigbee device whose digital input pin you’d like to sample. Do not include this variable if you want to sample the local Zigbee device’s pins.
low, depicting whether the binary sensor is considered
onwhen the pin is
Default value: high