Skip to content

Commit

Permalink
Check for update when changing prod <-> beta (#201)
Browse files Browse the repository at this point in the history
Co-authored-by: JLo <github.papyrus@mail.jlpouffier.fr>
  • Loading branch information
jesserockz and jlpouffier authored Nov 20, 2024
1 parent 34f4bf7 commit c9a89aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions home-assistant-voice.factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c9a89aa

Please sign in to comment.