From f3da2c0352cc97028b9dbc203efa65349eaa9ff3 Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 21 Aug 2024 03:08:18 +0200 Subject: [PATCH] Update unavailable device for more info --- roles/scripts/templates/check-unavailable.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/scripts/templates/check-unavailable.yaml.j2 b/roles/scripts/templates/check-unavailable.yaml.j2 index 1b0aac5..294c619 100644 --- a/roles/scripts/templates/check-unavailable.yaml.j2 +++ b/roles/scripts/templates/check-unavailable.yaml.j2 @@ -12,6 +12,6 @@ check_unavailable: data: message: > Device unavailable - {% raw %}{{ {% endraw %} device_attr('{{entity}}', 'name_by_user'){% raw %} }} {% endraw %}is unavailable + {% raw %}{{ {% endraw %} device_attr('{{entity}}', 'name_by_user'){% raw %} }} ( {{ {% endraw %} device_attr('{{entity}}', 'name') {% raw %} }} ) {% endraw %}is unavailable target: [ "1109936159951441960" ] {% endfor %}