mirror of
https://github.com/esphome/esphome.git
synced 2026-05-12 10:08:47 +08:00
f757cd1210
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>
43 lines
816 B
YAML
43 lines
816 B
YAML
binary_sensor:
|
|
- platform: template
|
|
name: "Garage Door Open 1"
|
|
- platform: template
|
|
name: "Garage Door Open 2"
|
|
- platform: template
|
|
name: "Garage Door Open 3"
|
|
- platform: template
|
|
name: "Garage Door Internal"
|
|
internal: True
|
|
|
|
sensor:
|
|
- platform: template
|
|
name: "Analog 1"
|
|
lambda: return 10.0;
|
|
- platform: template
|
|
name: "Analog 2"
|
|
lambda: return 11.0;
|
|
- platform: template
|
|
name: "Analog 3"
|
|
lambda: return 12.0;
|
|
internal: True
|
|
|
|
output:
|
|
- platform: template
|
|
id: output_factory
|
|
type: binary
|
|
write_action:
|
|
- zigbee.factory_reset
|
|
|
|
switch:
|
|
- platform: template
|
|
name: "Template Switch"
|
|
optimistic: true
|
|
|
|
number:
|
|
- platform: template
|
|
name: "Template number"
|
|
optimistic: true
|
|
min_value: 2
|
|
max_value: 100
|
|
step: 1
|