fix
This commit is contained in:
parent
c7558258ea
commit
5cf4c7ab9f
8
base.yml
8
base.yml
|
@ -3,7 +3,7 @@ esphome:
|
||||||
name: ${id_prefix}
|
name: ${id_prefix}
|
||||||
friendly_name: ${friendly_name}
|
friendly_name: ${friendly_name}
|
||||||
name_add_mac_suffix: true
|
name_add_mac_suffix: true
|
||||||
project:
|
project:
|
||||||
name: ratgdo.esphome
|
name: ratgdo.esphome
|
||||||
version: "1.0"
|
version: "1.0"
|
||||||
|
|
||||||
|
@ -52,13 +52,13 @@ binary_sensor:
|
||||||
name: "${friendly_name} Dry contact close"
|
name: "${friendly_name} Dry contact close"
|
||||||
entity_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"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
on_press:
|
on_press:
|
||||||
- light.toggle: {id_prefix}_light
|
- light.toggle: ${id_prefix}_light
|
||||||
|
|
||||||
number:
|
number:
|
||||||
- platform: ratgdo
|
- platform: ratgdo
|
||||||
|
@ -85,7 +85,7 @@ light:
|
||||||
ratgdo_id: ${id_prefix}
|
ratgdo_id: ${id_prefix}
|
||||||
|
|
||||||
uart:
|
uart:
|
||||||
tx_pin:
|
tx_pin:
|
||||||
number: D4 # red control terminal / GarageDoorOpener (UART1 TX) pin is D4 on D1 Mini
|
number: D4 # red control terminal / GarageDoorOpener (UART1 TX) pin is D4 on D1 Mini
|
||||||
inverted: true
|
inverted: true
|
||||||
rx_pin:
|
rx_pin:
|
||||||
|
|
Loading…
Reference in New Issue