Zigbee End Device
The zigbee component allows exposing supported ESPHome components over a Zigbee network to Home Assistant
via Zigbee2MQTT or ZHA. Due to the limitations of the Zigbee protocol, only basic properties are exposed.
Additional properties must be configured manually in Home Assistant. Each ESPHome entity consumes one Zigbee endpoint.
Because of a limitation in Zigbee2MQTT, at least two endpoints are required. The maximum number of supported endpoints
is eight.
Zigbee support is currently available only on nRF52 platforms.
Full Configuration
# Example configuration entry
zigbee:
id: my_zigbee
on_join:
then:
- logger.log: "Joined network"
binary_sensor:
- platform: template
name: "Door 1"
- platform: template
name: "Door 2"Configuration variables
wipe_on_boot (Optional, boolean): Erases all non-volatile memory data on boot. Use only if the device is in a boot loop crash. Defaults to
false.on_join (Optional, Automation): Automation to run when the device joins the network.
id (Optional, ID): The ID to use for this
zigbeecomponent.
Actions
factory_reset Action
This action triggers a factory reset of the Zigbee device. It handles leaving the Zigbee network.
on_...:
then:
- zigbee.factory_resetSupported Components
Binary Sensor Configuration
All binary sensors with a name are automatically exposed over Zigbee.
binary_sensor:
- platform: template
name: "Door 1"
- platform: template
name: "Door 2"
- platform: template
id: internal_sensor
- platform: template
name: "Another internal sensor"
internal: trueConfiguration variables
- name (Required, string): The name for the binary sensor. This is exposed as the Zigbee endpoint description.
- internal (Optional, boolean): Mark this component as internal. Internal components will
not be exposed over Zigbee. Only specifying an
idwithout anamewill implicitly set this to true. Use this if you run out of Zigbee endpoints.