I’m a bit stumped here. I have an automation that I need to add another action to, with a delay between. Can somebody please tell me where I went wrong? This is the original:
Even adding the delay with nothing more gives me errors:
Configuration invalid
Error loading /home/homeassistant/.homeassistant/configuration.yaml: while parsing a block mapping in “/home/homeassistant/.homeassistant/automations.yaml”, line 110, column 3 expected , but found ‘-’
I guess it’s the dashes, I have never gotten a handle of those. Most of my automations do not have them at all, since they are only one action each. But I have read that I need to use them with more actions in one automation.
Yeah, it works. And I know it’s backwards, no idea why it’s like that, though. It’s a year since that one was made. Edit: And no, the editor is useless for me. It messes up Norwegian characters in automations.
No, it doesn’t… It won’t send to the thermostate because it can’t use “trigger.payload” in the second action. I don’t know this language at all, can I set the trigger.payload in the first data template to a variable in any way?
Correct me if I’m wrong in this little warning but… I have seen automations with multiple sequence events not proceed to the second event if the first one fails. It appears that upon any event failure in the sequence will cause the entire automation to puke.
123, You seem to be right. Because I see this in my log now (didn’t think to look there before):
Error while executing automation automation.termostater_til_5_grader. Service not found for call_service at pos 1: (ServiceNotFound(…), ‘Service zwave.set_config_parameter not found’)
yess. completely right! and please use 2 spaces before the dashes. Makes it less prone to indenting errors and read so much better (and use multiline to prevent quoting issues…):
The error message refers to an automation called termostater_til_5_grader.
Error while executing automation automation.termostater_til_5_grader. Service not found for call_service at pos 1: (ServiceNotFound(…), ‘Service zwave.set_config_parameter not found’)
Is that the automation you posted here or another one? The one you posted here doesn’t have that name.
Sorry, I’m working on both at the same time, they are two sides of the same action. But I have gotten rid of the error, it just doesn’t seem to do anything. Is it possible that the correct command isn’t the set config parameter, but something else? And where would I find that?
Edit: I can set the operation mode from the dashboard. And from the Z-Wave Control Panel.
Found it, with help (of course). It was very logical… Temperature uses zwave.set_config_parameter based on the node_id of the device, while mode uses climate.set_operation_mode based on the name of the device.