I would like to know which entity caused this to alert. I’ve tried trigger.name, trigger.id, friendly names but still only get the title. Could someone please educate me on this?
alias: Shutdown - If Somethin' Ain't Right Blink Front Lights
description: |-
Locks open or jammed or lights on
trigger:
- type: plugged_in
platform: device
device_id: 12a62eb61d51eb052c431feb9b1f0c35
entity_id: eeec1b877697537069c8c0cf3f52b991
domain: binary_sensor
for:
hours: 0
minutes: 0
seconds: 0
- type: not_plugged_in
platform: device
device_id: 12a62eb61d51eb052c431feb9b1f0c35
entity_id: eeec1b877697537069c8c0cf3f52b991
domain: binary_sensor
condition:
- condition: time
after: "20:00:00"
before: "00:00:00"
action:
- delay:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
- if:
- condition: or
conditions:
- condition: device
device_id: e9c17807e17f1dd678754a38758e8f27
domain: lock
entity_id: 297874edc5ebeaa91f1dd40c6020e597
type: is_unlocked
- condition: device
device_id: e9c17807e17f1dd678754a38758e8f27
domain: lock
entity_id: 297874edc5ebeaa91f1dd40c6020e597
type: is_jammed
- condition: device
device_id: cc957ad80eabaa0549631b582afcc1e6
domain: lock
entity_id: d1f71d0158358116a287c1bae379759f
type: is_unlocked
- condition: device
device_id: cc957ad80eabaa0549631b582afcc1e6
domain: lock
entity_id: d1f71d0158358116a287c1bae379759f
type: is_jammed
- condition: device
device_id: 188996090101293559743724f6fa4597
domain: lock
entity_id: 372bd07faf46dbf51945a2fd0e1afcc9
type: is_unlocked
- condition: device
device_id: 188996090101293559743724f6fa4597
domain: lock
entity_id: 372bd07faf46dbf51945a2fd0e1afcc9
type: is_jammed
- type: is_open
condition: device
device_id: d1b98de03fac011797d703be720dc3c4
entity_id: 49030ed902614bdd648b83b34aa2ffe3
domain: binary_sensor
- condition: device
type: is_on
device_id: 9458ee742fa1ac3997792712d8569793
entity_id: 95295f48120e6f12664e4751b10684f1
domain: switch
- condition: device
type: is_on
device_id: 8aa95e55f478eec6112fbbd8249a4033
entity_id: 8b4e295143be041c991b4d55eafc9940
domain: switch
then:
- service: notify.mobile_app_my_phone
metadata: {}
data:
message: title {{ trigger.name }}
- repeat:
count: 4
sequence:
- delay: 1
- type: toggle
device_id: ad66f0b0aaf8d7f0ed6edcd4369ea6ad
entity_id: 44eb6c7cabfa483131e03a887d7a5709
domain: switch
else:
- repeat:
count: 2
sequence:
- delay: 1
- type: toggle
device_id: 4ddd6815185ba0a8d0ae1ec8b832d642
entity_id: 5b5ec0097d6416a9c86b4118bd0958b6
domain: light
mode: single