#Having trouble with a custom sentence automation with variables

1 messages · Page 1 of 1 (latest)

hidden tulip
#

I get the following error when I save the automation: Message malformed: template value is None for dictionary value @ data['actions'][0]['data']

It's pretty straightforward-I think. I can't figure out what I am missing. Any help would be much appreciated!

trigger: conversation
command:

  • ""Set the Upstairs Thermostat to {{target_temp}} degrees""

action: climate.set_temperature
data: temperature: "{{target_temp}}"
target:
entity_id: climate.upstairs

potent mauve
#

To define a field use single curly brackets in the sentence trigger command.

humble vapor
#

data: temperature: "{{target_temp}}"

This also looks malformed