This commit is contained in:
J. Nick Koston 2023-06-09 14:13:40 -05:00
parent b5b2a61445
commit fc0105512e
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -44,19 +44,19 @@ binary_sensor:
- platform: gpio - platform: gpio
pin: D5 # # D5 dry contact for opening door pin: D5 # # D5 dry contact for opening door
name: "${friendly_name} Dry contact open" name: "${friendly_name} Dry contact open"
eneity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- cover.open: ${id_prefix}_garage - cover.open: ${id_prefix}_garage
- platform: gpio - platform: gpio
pin: D6 # D6 dry contact for closing door pin: D6 # D6 dry contact for closing door
name: "${friendly_name} Dry contact close" name: "${friendly_name} Dry contact close"
eneity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- cover.close: ${id_prefix}_garage - cover.close: ${id_prefix}_garage
- platform: gpio - platform: gpio
pin: D3 # D3 dry contact for triggering light (no discrete light commands, so toggle only) pin: D3 # D3 dry contact for triggering light (no discrete light commands, so toggle only)
name: "${friendly_name} Dry contact light" name: "${friendly_name} Dry contact light"
eneity_category: diagnostic entity_category: diagnostic
on_press: on_press:
- light.toggle: {id_prefix}_light - light.toggle: {id_prefix}_light