diff --git a/garage1.yaml b/garage1.yaml index b123a80..a434c3f 100644 --- a/garage1.yaml +++ b/garage1.yaml @@ -1,5 +1,5 @@ substitutions: - garageSide: sy # sy, wo + garageSide: wo # sy, wo esphome: name: garage${garageSide} @@ -7,7 +7,7 @@ esphome: esp32: board: wemos_d1_mini32 framework: - type: arduino # esp-idf is used by side wo, but sy uses an older esp32 chip that seems to crash with esp-idf (likely power issues) + type: esp-idf # esp-idf is used by side wo, but sy uses an older esp32 chip that seems to crash with esp-idf (likely power issues) ota: - platform: esphome @@ -15,6 +15,11 @@ ota: on_begin: then: - hoermann_door.stop_polling: door_controll_internal + - logger.log: "OTA-Update started, stopped polling" + on_error: + then: + - hoermann_door.start_polling: door_controll_internal + - logger.log: "OTA-Update failed, restarted polling" api: encryption: