Compare commits

...

2 Commits

Author SHA1 Message Date
Flavio Fernandes ddc2b592fe
Merge fb3d1e1ab9 into f9590d94ad 2024-06-21 03:54:22 +00:00
Flavio Fernandes fb3d1e1ab9 OTA: Moving to base.yamls and adding ESPHome platform
Moving the OTA block to the base of the respective
esphome-ratgdo board.

Starting with version 2024.6.0, at least one platform must
be specified for 'OTA'; add 'platform: esphome' for
original OTA functionality.

Fixes: https://github.com/ratgdo/esphome-ratgdo/issues/289

Signed-off-by: Flavio Fernandes <flavio@flaviof.com>
2024-06-20 23:51:46 -04:00
16 changed files with 9 additions and 26 deletions

View File

@ -45,6 +45,9 @@ api:
id($id_prefix).clear_paired_devices(ratgdo::PairedDevice::ACCESSORY); id($id_prefix).clear_paired_devices(ratgdo::PairedDevice::ACCESSORY);
} }
ota:
- platform: esphome
sensor: sensor:
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_openings id: ${id_prefix}_openings

View File

@ -25,6 +25,9 @@ ratgdo:
discrete_close_pin: ${discrete_close_pin} discrete_close_pin: ${discrete_close_pin}
protocol: drycontact protocol: drycontact
ota:
- platform: esphome
binary_sensor: binary_sensor:
- platform: ratgdo - platform: ratgdo
type: obstruction type: obstruction

View File

@ -28,6 +28,9 @@ ratgdo:
message: "Failed to communicate with garage opener on startup." message: "Failed to communicate with garage opener on startup."
notification_id: "esphome_ratgdo_${id_prefix}_sync_failed" notification_id: "esphome_ratgdo_${id_prefix}_sync_failed"
ota:
- platform: esphome
lock: lock:
- platform: ratgdo - platform: ratgdo
id: ${id_prefix}_lock_remotes id: ${id_prefix}_lock_remotes

View File

@ -41,8 +41,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -41,8 +41,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -41,8 +41,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -41,8 +41,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi:

View File

@ -42,8 +42,6 @@ time:
api: api:
id: api_server id: api_server
ota:
improv_serial: improv_serial:
wifi: wifi: