From ba56a2170e889de257337a7b9ca5693257af2a34 Mon Sep 17 00:00:00 2001 From: James Walker Date: Thu, 31 Mar 2022 22:45:15 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=20switch=20updater=20to=20version?= =?UTF-8?q?=20integration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .HA_VERSION | 2 +- automations/system/update.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.HA_VERSION b/.HA_VERSION index 22bd7d5..cc872d7 100644 --- a/.HA_VERSION +++ b/.HA_VERSION @@ -1 +1 @@ -2021.12.1 \ No newline at end of file +2022.3.8 \ No newline at end of file diff --git a/automations/system/update.yaml b/automations/system/update.yaml index cba92ad..5441ea3 100644 --- a/automations/system/update.yaml +++ b/automations/system/update.yaml @@ -2,10 +2,10 @@ - alias: "Update Available Notification" trigger: - platform: state - entity_id: binary_sensor.updater + entity_id: binary_sensor.home_assistant_website_update_available from: "off" to: "on" action: - service: notify.notify data: - message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available." + message: "Home Assistant {{ states('sensor.home_assistant_website') }} is available."