mirror of
https://github.com/esphome/esphome.git
synced 2026-08-23 06:36:23 +00:00
[zigbee] Allow to combine and merge endpoints on esp32 (#17402)
This commit is contained in:
@@ -8,10 +8,20 @@ binary_sensor:
|
||||
- platform: template
|
||||
name: "Garage Door Open 12"
|
||||
report: "force"
|
||||
endpoint: 1
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
name: "Temperature Sensor"
|
||||
lambda: return 10.0;
|
||||
device_class: temperature
|
||||
unit_of_measurement: "°C"
|
||||
endpoint: 1
|
||||
use_device_type: true
|
||||
|
||||
zigbee:
|
||||
model: zigbee_test
|
||||
router: true
|
||||
router: false
|
||||
power_source: MAINS_SINGLE_PHASE
|
||||
on_join:
|
||||
then:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
zigbee:
|
||||
model: zigbee_test
|
||||
router: true
|
||||
power_source: MAINS_SINGLE_PHASE
|
||||
on_join:
|
||||
then:
|
||||
- logger.log: "Joined network"
|
||||
Reference in New Issue
Block a user