19 lines
540 B
YAML
19 lines
540 B
YAML
- id: info_unavailable_notice
|
|
alias: '[INFO] Unavailable notice'
|
|
description: ''
|
|
mode: single
|
|
trigger:
|
|
# Kitchen tabletop motion (Z-Wave)
|
|
- platform: device
|
|
device_id: c7bb75d230dd4f8a5b7ece910f00c583
|
|
domain: zwave_js
|
|
type: state.node_status
|
|
entity_id: sensor.node_6_node_status
|
|
to: dead
|
|
action:
|
|
- service: notify.mobile_app_iphone
|
|
data:
|
|
title: "Device unavailable"
|
|
message: >
|
|
{{ device_attr(trigger.event.data.device_id, 'name_by_user') }} is unavailable
|