[zigbee][core] Add support for Zigbee binary sensors on ESP32 H2 and C6 (#11553)

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@home-assistant.io>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
luar123
2026-04-23 18:46:56 +02:00
committed by GitHub
parent 9b45b046a8
commit f757cd1210
27 changed files with 1295 additions and 67 deletions

View File

@@ -1,4 +1,3 @@
---
binary_sensor:
- platform: template
name: "Garage Door Open 1"
@@ -22,12 +21,6 @@ sensor:
lambda: return 12.0;
internal: True
zigbee:
wipe_on_boot: true
on_join:
then:
- logger.log: "Joined network"
output:
- platform: template
id: output_factory
@@ -35,9 +28,6 @@ output:
write_action:
- zigbee.factory_reset
time:
- platform: zigbee
switch:
- platform: template
name: "Template Switch"

View File

@@ -0,0 +1,14 @@
binary_sensor:
- platform: template
name: "Garage Door Open 10"
report: "enable"
- platform: template
name: "Garage Door Open 11"
report: "coordinator"
- platform: template
name: "Garage Door Open 12"
report: "force"
zigbee:
model: zigbee_test
router: true

View File

@@ -0,0 +1,12 @@
packages:
- !include common.yaml
zigbee:
model: zigbee_test
wipe_on_boot: true
on_join:
then:
- logger.log: "Joined network"
time:
- platform: zigbee

View File

@@ -0,0 +1 @@
<<: !include common_esp32.yaml

View File

@@ -1 +1 @@
<<: !include common.yaml
<<: !include common_nrf52.yaml

View File

@@ -1 +1 @@
<<: !include common.yaml
<<: !include common_nrf52.yaml

View File

@@ -1,4 +1,4 @@
<<: !include common.yaml
<<: !include common_nrf52.yaml
zigbee:
wipe_on_boot: once