diff --git a/automations/system/home_assistant_update_notifiication.yaml b/automations/system/home_assistant_update_notifiication.yaml index 80564aa6..de623ea8 100644 --- a/automations/system/home_assistant_update_notifiication.yaml +++ b/automations/system/home_assistant_update_notifiication.yaml @@ -69,7 +69,7 @@ action: - service: rest_command.github_actions # wait for travis build to start then update notification -- wait_template: "{{ is_state('sensor.github_checkrun_home_assistant_latest', 'queued') }}" +- wait_template: "{{ is_state('sensor.github_checkrun_home_assistant_stable', 'queued') }}" # Send notification that Travis started - service: script.notify_engine @@ -95,13 +95,13 @@ action: notification_id: update_ha # wait for build to complete and update notification with status -- wait_template: "{{ not is_state('sensor.github_checkrun_home_assistant_latest', 'queued') }}" +- wait_template: "{{ not is_state('sensor.github_checkrun_home_assistant_stable', 'queued') }}" - service: script.notify_engine data: who: 'discord' title: '*Update Home Assistant*' - value1: 'GitHub workflow has {{states("sensor.github_checkrun_home_assistant_latest")}}' + value1: 'GitHub workflow has {{states("sensor.github_checkrun_home_assistant_stable")}}' target_id: !secret discord_github_id group: ha_update tag_id: 'information' @@ -116,11 +116,11 @@ action: message: > There is an update to Home Assistant Supervised * {{ states("sensor.current_version") }} -> {{ states("sensor.latest_version") }} - GitHub workflow has {{states('sensor.github_checkrun_home_assistant_latest')}} + GitHub workflow has {{states('sensor.github_checkrun_home_assistant_stable')}} notification_id: update_ha # post issue comment on Travis status - service: rest_command.github_issue_comment data: - message: "GitHub workflow has {{ states('sensor.github_checkrun_home_assistant_latest') }}" + message: "GitHub workflow has {{ states('sensor.github_checkrun_home_assistant_stable') }}" issue_number: 14