add version text sensor to dry contact

This commit is contained in:
Paul Wieland 2024-04-18 14:52:53 -04:00 committed by GitHub
parent 7e8aadce9f
commit f9590d94ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ external_components:
preferences: preferences:
flash_write_interval: 1min flash_write_interval: 1min
text_sensor:
- platform: version
name: "Firmware Version"
ratgdo: ratgdo:
id: ${id_prefix} id: ${id_prefix}
output_gdo_pin: ${uart_tx_pin} output_gdo_pin: ${uart_tx_pin}
@ -92,4 +96,4 @@ button:
on_press: on_press:
then: then:
lambda: !lambda |- lambda: !lambda |-
id($id_prefix).door_toggle(); id($id_prefix).door_toggle();