Fix unavailability automation
This commit is contained in:
parent
dd97d375e9
commit
d6c84a268e
@ -348,6 +348,7 @@
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
# Table lamp 1
|
||||
- device_id: f931a95e4f3ac3cc4f0e8adcfe386a22
|
||||
domain: zha
|
||||
platform: device
|
||||
@ -358,7 +359,7 @@
|
||||
data:
|
||||
title: "Device unavailable"
|
||||
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:
|
||||
channel: Notfall
|
||||
priority: high
|
||||
|
Loading…
Reference in New Issue
Block a user