openings
This commit is contained in:
parent
0c3665c0d8
commit
47dfea74dd
4
base.yml
4
base.yml
|
@ -98,7 +98,7 @@ binary_sensor:
|
||||||
condition:
|
condition:
|
||||||
binary_sensor.is_off: ${id_prefix}_dry_contact_close
|
binary_sensor.is_off: ${id_prefix}_dry_contact_close
|
||||||
then:
|
then:
|
||||||
- cover.open: ${id_prefix}_garage
|
- cover.open: ${id_prefix}_garage_door
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: "${id_prefix}_dry_contact_close"
|
id: "${id_prefix}_dry_contact_close"
|
||||||
pin:
|
pin:
|
||||||
|
@ -114,7 +114,7 @@ binary_sensor:
|
||||||
condition:
|
condition:
|
||||||
binary_sensor.is_off: ${id_prefix}_dry_contact_open
|
binary_sensor.is_off: ${id_prefix}_dry_contact_open
|
||||||
then:
|
then:
|
||||||
- cover.close: ${id_prefix}_garage
|
- cover.close: ${id_prefix}_garage_door
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: "${id_prefix}_dry_contact_light"
|
id: "${id_prefix}_dry_contact_light"
|
||||||
pin:
|
pin:
|
||||||
|
|
Loading…
Reference in New Issue