fix
This commit is contained in:
parent
6d652b916f
commit
d91b5f9a36
3
base.yml
3
base.yml
|
@ -45,18 +45,21 @@ binary_sensor:
|
|||
pin: D5 # D5 dry contact for opening door
|
||||
name: "${friendly_name} Dry contact open"
|
||||
entity_category: diagnostic
|
||||
inverted: true
|
||||
on_press:
|
||||
- cover.open: ${id_prefix}_garage
|
||||
- platform: gpio
|
||||
pin: D6 # D6 dry contact for closing door
|
||||
name: "${friendly_name} Dry contact close"
|
||||
entity_category: diagnostic
|
||||
inverted: true
|
||||
on_press:
|
||||
- cover.close: ${id_prefix}_garage
|
||||
- platform: gpio
|
||||
pin: D3 # D3 dry contact for triggering light (no discrete light commands, so toggle only)
|
||||
name: "${friendly_name} Dry contact light"
|
||||
entity_category: diagnostic
|
||||
inverted: true
|
||||
on_press:
|
||||
- light.toggle: ${id_prefix}_light
|
||||
|
||||
|
|
Loading…
Reference in New Issue