Hi there
I wonder if someone can help me with this blueprint.
The error i get when i try to save it is:
Message malformed: template value should be a string for dictionary value @ data['actions'][0]['data']
I want a ; separated list of the chosen entity “written” to the “output sensor”
Any idea how to solve this ?
blueprint:
name: Motion and Light to Sensor
description: Writes motion sensor and light entity values as a semicolon-separated string to the specified input_text entity.
domain: automation
input:
motion_sensor:
name: Motion Sensor
description: The motion sensor to include in the output
selector:
entity:
domain: binary_sensor
light_entity:
name: Light Entity
description: The light entity to include in the output
selector:
entity:
domain: light
output_sensor:
name: Output Sensor
description: The input_text entity to update
selector:
entity:
domain: input_text
default: "input_text.test_livingroom"
trigger: []
condition: []
action:
- service: input_text.set_value
target:
entity_id: !input output_sensor
data:
value: >
{{ !input motion_sensor }};{{ !input light_entity }}
mode: single