more flex
This commit is contained in:
parent
9bdabf616c
commit
c62486f296
19
base.yml
19
base.yml
|
@ -42,9 +42,20 @@ binary_sensor:
|
||||||
device_class: running
|
device_class: running
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
pin: D2
|
pin: D5 # # D5 dry contact for opening door
|
||||||
name: "${friendly_name} Motor"
|
name: "${friendly_name} Dry contact open"
|
||||||
|
on_press:
|
||||||
|
- cover.open: ${id_prefix}_garage
|
||||||
|
- platform: gpio
|
||||||
|
pin: D6 # D6 dry contact for closing door
|
||||||
|
name: "${friendly_name} Dry contact close"
|
||||||
|
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"
|
||||||
|
on_press:
|
||||||
|
- light.toggle: {id_prefix}_light
|
||||||
|
|
||||||
number:
|
number:
|
||||||
- platform: ratgdo
|
- platform: ratgdo
|
||||||
|
@ -66,7 +77,7 @@ cover:
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: ratgdo
|
- platform: ratgdo
|
||||||
id: ratgdo_light
|
id: {id_prefix}_light
|
||||||
name: "${friendly_name} Light"
|
name: "${friendly_name} Light"
|
||||||
ratgdo_id: ${id_prefix}
|
ratgdo_id: ${id_prefix}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue