mirror of
https://github.com/esphome/esphome.git
synced 2024-12-19 03:54:55 +01:00
12 lines
223 B
YAML
12 lines
223 B
YAML
|
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
|