Skip to content

Commit

Permalink
Use the ratgdo pins configured in the substitutions section (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmuja authored Jun 23, 2023
1 parent d95e980 commit 86b018e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ external_components:

ratgdo:
id: ${id_prefix}
input_gdo_pin: ${uart_rx_pin}
output_gdo_pin: ${uart_tx_pin}
input_obst_pin: ${input_obst_pin}

sensor:
- platform: ratgdo
Expand Down
1 change: 1 addition & 0 deletions static/v2board_esp32_d1_mini.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ substitutions:
friendly_name: "RATGDOv2"
uart_tx_pin: D4
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
Expand Down
1 change: 1 addition & 0 deletions static/v2board_esp8266_d1_mini_lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ substitutions:
friendly_name: "ratgdov2"
uart_tx_pin: D4
uart_rx_pin: D2
input_obst_pin: D7
status_door_pin: D0
status_obstruction_pin: D8
dry_contact_open_pin: D5
Expand Down

0 comments on commit 86b018e

Please sign in to comment.