Try fixing unavbailable notice
This commit is contained in:
parent
1ecd70d4f0
commit
077f27ef93
1 changed files with 6 additions and 6 deletions
|
@ -3,11 +3,11 @@
|
|||
description: ''
|
||||
mode: single
|
||||
trigger:
|
||||
# - device_id: a2ac0fa69738b8e7c5c1b8b8bcf8cdc2
|
||||
# domain: zha
|
||||
# platform: device
|
||||
# type: device_offline
|
||||
# subtype: device_offline
|
||||
- device_id: a2ac0fa69738b8e7c5c1b8b8bcf8cdc2
|
||||
domain: zha
|
||||
platform: device
|
||||
type: device_offline
|
||||
subtype: device_offline
|
||||
- device_id: 3d87588b498ed4a82627d0081332015f
|
||||
domain: zha
|
||||
platform: device
|
||||
|
@ -369,7 +369,7 @@
|
|||
data:
|
||||
title: "Device unavailable"
|
||||
message: >
|
||||
{{ state_attr(trigger.to_state.entity_id, 'friendly_name') }} is unavailable for 5 minutes
|
||||
{{ state_attr(trigger.event.data.entity_id, 'friendly_name') }} is unavailable for 5 minutes
|
||||
data:
|
||||
channel: Notfall
|
||||
priority: high
|
||||
|
|
Loading…
Reference in a new issue