From 9e2174a9df39e657653099d132480346676d7a7e Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 19 Nov 2024 10:13:32 +1300 Subject: [PATCH] Check for update when changing prod <-> beta --- home-assistant-voice.factory.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home-assistant-voice.factory.yaml b/home-assistant-voice.factory.yaml index 99a52a8..eff00e9 100644 --- a/home-assistant-voice.factory.yaml +++ b/home-assistant-voice.factory.yaml @@ -65,6 +65,8 @@ switch: on_turn_on: - logger.log: "OTA updates set to use Beta firmware" - lambda: id(update_http_request).set_source_url("https://firmware.esphome.io/home-assistant-voice-pe/home-assistant-voice/manifest-beta.json"); + - component.update: update_http_request on_turn_off: - logger.log: "OTA updates set to use Production firmware" - lambda: id(update_http_request).set_source_url("https://firmware.esphome.io/home-assistant-voice-pe/home-assistant-voice/manifest.json"); + - component.update: update_http_request