1
0

Fix unavailability automation

This commit is contained in:
Przemek Grondek 2022-04-23 20:21:49 +02:00
parent dd97d375e9
commit d6c84a268e

View File

@ -348,6 +348,7 @@
platform: device platform: device
type: device_offline type: device_offline
subtype: device_offline subtype: device_offline
# Table lamp 1
- device_id: f931a95e4f3ac3cc4f0e8adcfe386a22 - device_id: f931a95e4f3ac3cc4f0e8adcfe386a22
domain: zha domain: zha
platform: device platform: device
@ -358,7 +359,7 @@
data: data:
title: "Device unavailable" title: "Device unavailable"
message: > message: >
{{ state_attr(trigger.event.device_id, 'friendly_name') }} is unavailable for 5 minutes {{ device_attr(trigger.event.data.device_id, 'name_by_user') }} is unavailable for 5 minutes
data: data:
channel: Notfall channel: Notfall
priority: high priority: high