please can someone help me
I have created an automation which notifies me when a sensor goes unavailable which works fine but the only problem is it does not tell me which sensor it was. I really need to Know which sensor it was.
thanks
here is my automation
id: '1664702339359'
alias: Sensors Offline
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.front_door_motion
- binary_sensor.motion_sensor_bathroom_motion
- binary_sensor.hue_motion_sensor_1_motion
- binary_sensor.motion_sensor_bedroom_motion
- binary_sensor.motion_sensor_hallway_down_motion
- binary_sensor.motion_sensor_hallway_up_motion
- binary_sensor.motion_sensor_kitchen_hallway_motion
- binary_sensor.motion_sensor_kitchen_motion
- binary_sensor.motion_sensor_toilet_motion
- binary_sensor.motion_sensor_studio_motion
- binary_sensor.motion_sensor_kids_bathroom_motion
- binary_sensor.motion_sensor_lounge_motion
- binary_sensor.lounge_camera_motion
- sensor.hallway_wifi_signal_strength
- sensor.nuki_front_door_lock_rssi
- binary_sensor.hive_hub_status
- sensor.front_door_wifi_signal_strength
to: unavailable
for:
hours: 0
minutes: 1
seconds: 0
condition: []
action:
- service: notify.mobile_app_iphone_14_pro_max
data:
message: 'ALERT THERE IS A SENSOR DOWN: {{sensors}}'
title: SENSOR NOW OFFLINE
mode: single