From eb05b5017ea611bc79dbcf1a1a7acabfbb40c006 Mon Sep 17 00:00:00 2001 From: Trevor Schirmer Date: Wed, 3 Jul 2024 00:16:16 -0400 Subject: [PATCH] Remove Duplicate OTA --- Integrations/ESPHome/MSR-2.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Integrations/ESPHome/MSR-2.yaml b/Integrations/ESPHome/MSR-2.yaml index d40a7ef..1213247 100644 --- a/Integrations/ESPHome/MSR-2.yaml +++ b/Integrations/ESPHome/MSR-2.yaml @@ -125,12 +125,14 @@ api: id: ld2410_radar password: !lambda 'return password;' -ota: - - platform: esphome wifi: + on_connect: + - delay: 5s # Gives time for improv results to be transmitted + - ble.disable: + on_disconnect: + - ble.enable: - power_save_mode: none # Enable fallback hotspot (captive portal) in case wifi connection fails ap: @@ -355,6 +357,7 @@ binary_sensor: pin: number: GPIO9 inverted: true + ignore_strapping_warning: true mode: input: true pullup: true