fix
This commit is contained in:
parent
2c6f4da3fe
commit
0eaeea4238
21
base.yml
21
base.yml
|
@ -21,7 +21,14 @@ external_components:
|
||||||
ratgdo:
|
ratgdo:
|
||||||
id: ${id_prefix}
|
id: ${id_prefix}
|
||||||
|
|
||||||
|
uart:
|
||||||
|
tx_pin:
|
||||||
|
number: D4 # red control terminal / GarageDoorOpener (UART1 TX) pin is D4 on D1 Mini
|
||||||
|
inverted: true
|
||||||
|
rx_pin:
|
||||||
|
number: D2 # red control terminal / GarageDoorOpener (UART1 RX) pin is D2 on D1 Mini
|
||||||
|
inverted: true
|
||||||
|
baud_rate: 9600
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: ratgdo
|
- platform: ratgdo
|
||||||
|
@ -30,7 +37,6 @@ switch:
|
||||||
entity_category: config
|
entity_category: config
|
||||||
ratgdo_id: ${id_prefix}
|
ratgdo_id: ${id_prefix}
|
||||||
name: "${friendly_name} Lock remotes"
|
name: "${friendly_name} Lock remotes"
|
||||||
|
|
||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: "${id_prefix}_status_door"
|
id: "${id_prefix}_status_door"
|
||||||
pin:
|
pin:
|
||||||
|
@ -138,23 +144,12 @@ cover:
|
||||||
on_open:
|
on_open:
|
||||||
- switch.turn_on: ${id_prefix}_status_door
|
- switch.turn_on: ${id_prefix}_status_door
|
||||||
|
|
||||||
|
|
||||||
light:
|
light:
|
||||||
- platform: ratgdo
|
- platform: ratgdo
|
||||||
id: ${id_prefix}_light
|
id: ${id_prefix}_light
|
||||||
name: "${friendly_name} Light"
|
name: "${friendly_name} Light"
|
||||||
ratgdo_id: ${id_prefix}
|
ratgdo_id: ${id_prefix}
|
||||||
|
|
||||||
uart:
|
|
||||||
tx_pin:
|
|
||||||
number: D4 # red control terminal / GarageDoorOpener (UART1 TX) pin is D4 on D1 Mini
|
|
||||||
inverted: true
|
|
||||||
rx_pin:
|
|
||||||
number: D2 # red control terminal / GarageDoorOpener (UART1 RX) pin is D2 on D1 Mini
|
|
||||||
inverted: true
|
|
||||||
baud_rate: 9600
|
|
||||||
|
|
||||||
|
|
||||||
button:
|
button:
|
||||||
- platform: restart
|
- platform: restart
|
||||||
name: "${friendly_name} Restart"
|
name: "${friendly_name} Restart"
|
||||||
|
|
Loading…
Reference in New Issue