Home Assistant
Smarthome
AWTRIX 3
AWTRIX Device Updates Triggered by Release Changes
Update all your AWTRIX devices when the release number changes.
Built by RobG
Published 15 October 2023 · updated 15 October 2023 · 3 downloads
Prerequisites:
- Homeassistant
- MQTT
- GitHub integration in Homeassistant
blueforcer_awtrix_light_latest_releasesensor
I have several AWTRIX devices up and running. This workflow keeps an eye on the GitHub repository https://github.com/Blueforcer/awtrix-light with help of the Github intergration in homeassistant for any updates to releases. It then activates the MQTT topic "doupdate" on all devices after a 2-minute delay.
Contact me on Discord for any questions.
jDKBO9wEAn3P.yaml · 0.7 KB
alias: Update all AWTRIX
description: ""
trigger:
- platform: state
entity_id:
- sensor.blueforcer_awtrix_light_latest_release
attribute: tag
condition: []
action:
- delay:
hours: 0
minutes: 2
seconds: 0
milliseconds: 0
- service: mqtt.publish
data:
topic: awtrix2/doupdate
- service: mqtt.publish
data:
topic: ulanzi2/doupdate
- service: mqtt.publish
data:
topic: ulanzi_test/doupdate
- service: mqtt.publish
data:
topic: ulanzi_fish_hal/doupdate
- service: mqtt.publish
data:
topic: ulanzi_wk/doupdate
- service: mqtt.publish
data:
topic: ulanzi_fish_hk/doupdate
mode: single