From c05f0508ff377a42a1e59732f39222ed4dc22d87 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 19 Jan 2023 20:03:04 -0500 Subject: [PATCH] Modernized old automations with UUIDs so I can trace them --- packages/custom_weather.yaml | 6 ++++-- packages/multimedia.yaml | 3 ++- packages/weatheralerts.yaml | 24 ++++++++++++++++-------- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/packages/custom_weather.yaml b/packages/custom_weather.yaml index 6da20dd..59f701d 100644 --- a/packages/custom_weather.yaml +++ b/packages/custom_weather.yaml @@ -876,7 +876,8 @@ automation: # retain: true # payload: "{{ states('sensor.todays_rainfall') }}" - - alias: Forecast Low Near Freezing + - id: 14421478-a33c-471a-ae01-b48827f6121a + alias: Forecast Low Near Freezing trigger: - platform: numeric_state entity_id: sensor.tonights_low_temp @@ -892,7 +893,8 @@ automation: - service: input_boolean.turn_on entity_id: input_boolean.freeze_warning - - alias: Forecast Low Above Freezing + - id: 088285ec-6435-435c-a8ce-800851fb15e2 + alias: Forecast Low Above Freezing trigger: - platform: numeric_state entity_id: sensor.tonights_low_temp diff --git a/packages/multimedia.yaml b/packages/multimedia.yaml index 1ae017a..9f78f39 100644 --- a/packages/multimedia.yaml +++ b/packages/multimedia.yaml @@ -4,7 +4,8 @@ input_boolean: icon: mdi:spotify automation: - - alias: 'Spotify Page - Everywhere Media Player idle or paused ' + - id: beac4fed-5326-49ef-951e-6615d0cf1a7c + alias: 'Spotify Page - Everywhere Media Player idle or paused ' description: '' trigger: - platform: template diff --git a/packages/weatheralerts.yaml b/packages/weatheralerts.yaml index 461e104..55273ba 100644 --- a/packages/weatheralerts.yaml +++ b/packages/weatheralerts.yaml @@ -1311,7 +1311,8 @@ input_text: automation: ## Automation to trigger a UI notification when there is an active weather alert. ## weatheralerts_alert_1 should always contain most recent alert. - - alias: Weather Alert UI Notification - 1 + - id: fd0b5635-8079-49df-899e-49d1a5871c77 + alias: Weather Alert UI Notification - 1 initial_state: true trigger: - platform: state @@ -1378,7 +1379,8 @@ automation: ## Automation to dismiss UI notification if there are no active alerts for 30 minutes ## Disable or remove this automation if you don't want notifications to auto-dismiss - - alias: Weather Alert UI Notification Auto-dismiss - 1 + - id: a550cbf6-7745-405c-9548-5c2afdf52c34 + alias: Weather Alert UI Notification Auto-dismiss - 1 trigger: - platform: state entity_id: sensor.weatheralerts_alerts_are_active @@ -1397,7 +1399,8 @@ automation: ## Automation to push alerts via Pushbullet service ## Disable or remove this automation if you don't use Pushbullet - - alias: Weather Alerts Notification - 1 + - id: 5145b56e-6db9-4352-a25d-376cebb191ff + alias: Weather Alerts Notification - 1 trigger: platform: state entity_id: sensor.weatheralerts_alert_1_last_changed @@ -1462,7 +1465,8 @@ automation: # Announce Severe Weather - - alias: NWS Announce Weather Alert + - id: b1bdfbf9-d82e-436f-bc60-77c3abfb077b + alias: NWS Announce Weather Alert trigger: - platform: numeric_state entity_id: sensor.weatheralerts_active_alerts @@ -1487,7 +1491,8 @@ automation: entity_id: input_text.weatheralerts_triggered_audible_alert_ids value: "{{ state_attr('sensor.weatheralerts_alert_1', 'alert_id') }} {{ state_attr('sensor.weatheralerts_alert_2', 'alert_id') }} {{ state_attr('sensor.weatheralerts_alert_3', 'alert_id') }} {{ state_attr('sensor.weatheralerts_alert_4', 'alert_id') }} {{ state_attr('sensor.weatheralerts_alert_5', 'alert_id') }}" - - alias: Lightning Detected + - id: 04b1119f-4e30-4ae3-ae50-632ac521c871 + alias: Lightning Detected trigger: - platform: state entity_id: sensor.lightning_warning @@ -1510,7 +1515,8 @@ automation: - service: script.lightning_warning_audible - - alias: Lightning Warning Off + - id: df317cd2-b5c6-43a7-a587-844403a4a0ad + alias: Lightning Warning Off trigger: - platform: state entity_id: sensor.lightning_warning @@ -1530,7 +1536,8 @@ automation: - service: script.lightning_clear_audible - - alias: NWS Freeze Warning + - id: 9e34264f-b3c8-4537-ba31-b5915f2fd326 + alias: NWS Freeze Warning trigger: - platform: numeric_state entity_id: sensor.weatheralerts_active_alerts @@ -1540,7 +1547,8 @@ automation: - service: input_boolean.turn_on entity_id: input_boolean.freeze_warning - - alias: Rain Window Warning + - id: 288de6e1-ec3d-43fa-9be8-1b2e27e4ad85 + alias: Rain Window Warning trigger: - platform: state entity_id: binary_sensor.precipitation