Skip to content

Instantly share code, notes, and snippets.

@fwartner
Created April 23, 2024 08:38
Show Gist options
  • Save fwartner/67f0357539ece742936d59b32db856cf to your computer and use it in GitHub Desktop.
Save fwartner/67f0357539ece742936d59b32db856cf to your computer and use it in GitHub Desktop.
alias: ESPHome Auto-Update
description: ""
trigger:
- platform: template
value_template: >-
{{ integration_entities('esphome') | select('match', '^update.') |
select('is_state', 'on') | list | count > 0 }}
condition: []
action:
- service: script.esphome_update_all_devices
metadata: {}
data: {}
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment