[zigbee] Implement switch support for esp32 (#17579)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
luar123
2026-09-30 22:45:50 +00:00
committed by GitHub
co-authored by Copilot Autofix powered by AI Jonathan Swoboda pre-commit-ci-lite[bot]
parent cb47dfcf0e
commit 568c1ae494
11 changed files with 349 additions and 41 deletions
+11
View File
@@ -45,6 +45,17 @@ sensor:
device_class: volume_flow_rate
cluster: device_class
switch:
- platform: template
name: "Template Switch 1"
optimistic: true
cluster: on_off
- platform: template
name: "Template Switch 2"
optimistic: true
cluster: on_off
device_class: outlet
zigbee:
model: zigbee_test
router: false