mirror of
https://github.com/esphome/esphome.git
synced 2026-10-14 10:12:52 +00:00
[zigbee] add report action on esp32 (#20488)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
co-authored by
J. Nick Koston
parent
2ef95bbc28
commit
7d7db6bf90
@@ -16,6 +16,9 @@ binary_sensor:
|
||||
name: "Garage Door Open 13"
|
||||
endpoint: 2
|
||||
use_device_type: false
|
||||
on_press:
|
||||
then:
|
||||
- zigbee.report
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
@@ -26,6 +29,7 @@ sensor:
|
||||
endpoint: 1
|
||||
use_device_type: true
|
||||
cluster: device_class
|
||||
report: enable
|
||||
- platform: template
|
||||
name: "Light Sensor"
|
||||
lambda: return 100.0;
|
||||
|
||||
Reference in New Issue
Block a user