From 96679633566dd5a84e4002bab7d8a493b13c0632 Mon Sep 17 00:00:00 2001 From: Richard van Duijn Date: Thu, 18 Aug 2022 16:44:41 +0200 Subject: [PATCH] Fixing automation name in template (#23805) --- source/_integrations/openuv.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/openuv.markdown b/source/_integrations/openuv.markdown index 9be0fd3e4bd..48f8db12e13 100644 --- a/source/_integrations/openuv.markdown +++ b/source/_integrations/openuv.markdown @@ -122,8 +122,8 @@ automation: - condition: template value_template: >- {{ - state_attr('automation.openuv_update', 'last_triggered') == None or - (now() - state_attr('automation.openuv_update', 'last_triggered')) >= timedelta(hours = 0, minutes = 40) + state_attr('automation.update_openuv', 'last_triggered') == None or + (now() - state_attr('automation.update_openuv', 'last_triggered')) >= timedelta(hours = 0, minutes = 40) }} action: - service: openuv.update_data