This commit is contained in:
J. Nick Koston 2023-06-09 14:27:24 -05:00
parent d91b5f9a36
commit 019ca7c0c6
No known key found for this signature in database
1 changed files with 3 additions and 3 deletions

View File

@ -45,21 +45,21 @@ binary_sensor:
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"
entity_category: diagnostic entity_category: diagnostic
inverted: true invert: true
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"
entity_category: diagnostic entity_category: diagnostic
inverted: true invert: true
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"
entity_category: diagnostic entity_category: diagnostic
inverted: true invert: true
on_press: on_press:
- light.toggle: ${id_prefix}_light - light.toggle: ${id_prefix}_light