I’m trying to create atomation that would trigger Ikea blinds to go down if lights get turned on.
I have a problem, that I can get to the very end, but am then unable to set the action for the blinds.
If I switch to editing in YAML, then I don’t know how to configure the position. If I replace the ‘type: set_position’ entry with "position: 100’ I get the ‘Message malformed: extra keys not allowed @ data[‘position’]’ error. And if I want to add 100 after the ‘set_position’ then I get the ‘Message malformed: value is not allowed for dictionary value @ data[‘type’]’ error.
I fought with the GUI editor and lost, so ended up trying some yaml for the first time. I added this to my automations.yaml and oddly enough it worked (at least when I execute the automation manually, I won’t know about complete success until sunset):
Thanks a lot. I’ll give this one a go and see what it does for me
I already defined max length with buttons as well, so that should not be an issue with me either.