mirror of
https://github.com/esphome/esphome.git
synced 2026-08-17 19:13:18 +08:00
Co-authored-by: root <root@core-ssh.local.hass.io> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
44 lines
841 B
YAML
44 lines
841 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;
|
|
accuracy_decimals: 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
|