I need help with this blueprint:
blueprint:
name: Alert
description: Triggers notification
domain: automation
author: Sayam
input:
sensor_entity:
name: Sensor
selector:
target:
entity:
domain: binary_sensor
switch_entity:
name: Switch
selector:
target:
entity:
domain: input_boolean
timer_entity:
name: timer
selector:
target:
entity:
domain: timer
notify_device:
name: Device to notify
selector:
device:
filter:
integration: mobile_app
trigger_id_1:
name: Trigger ID 1
selector:
text:
multiline: false
trigger_id_2:
name: Trigger ID 2
selector:
text:
multiline: false
trigger:
- platform: state
entity_id: !input sensor_entity
from: "off"
to: "on"
id: !input trigger_id_1
- platform: event
event_type: timer.finished
event_data:
entity_id: !input timer_entity
id: !input trigger_id_2
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: trigger
id: !input trigger_id_1
- condition: state
entity_id: !input switch_entity
state: "off"
sequence:
- service: timer.start
target:
entity_id: !input timer_entity
data: {}
- conditions:
- condition: and
conditions:
- condition: trigger
id: !input trigger_id_2
- condition: state
entity_id: !input sensor_entity
state: "on"
- condition: state
entity_id: !input switch_entity
state: "off"
sequence:
- service: !input notify_device
data:
message: “Alert!"
metadata: {}
mode: single
I am getting this error while saving any automation with the above blueprint:
Message malformed: Entity entity_id is neither a valid entity ID nor a valid UUID for dictionary value @ data['action'][0]['choose'][0]['conditions'][0]['conditions'][1]['entity_id']
Kindly help!