mirror of
https://github.com/esphome/esphome.git
synced 2026-08-18 03:59:08 +08:00
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
33 lines
641 B
YAML
33 lines
641 B
YAML
packages:
|
|
- !include common.yaml
|
|
|
|
binary_sensor:
|
|
- platform: template
|
|
name: "Garage Door Open 10"
|
|
report: "default"
|
|
use_device_type: false
|
|
- 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: false
|
|
power_source: MAINS_SINGLE_PHASE
|
|
on_join:
|
|
then:
|
|
- logger.log: "Joined network"
|
|
on_start:
|
|
then:
|
|
- logger.log: "Started zigbee stack"
|