esphome/tests/components/switch/common.yaml

12 lines
223 B
YAML
Raw Permalink Normal View History

2024-11-25 08:24:23 +01:00
binary_sensor:
- platform: switch
id: some_binary_sensor
name: "Template Switch State"
source_id: the_switch
switch:
- platform: template
name: "Template Switch"
id: the_switch
optimistic: true