1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

binary_sensor for switch state (#7819)

This commit is contained in:
Samuel Sieb
2024-11-24 21:24:23 -10:00
committed by GitHub
parent 71496574e9
commit c49f7293fe
13 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml

View File

@@ -0,0 +1,2 @@
packages:
common: !include common.yaml