Any suggestions to fix error Message malformed: required key not provided @ data['options'] for this automation created with the new labs purpose-specific trigger for climate setpoint changed? I tried both with an area and with the climate thermostat entity, same error with both.
triggers:
- trigger: state
id: ground
entity_id: climate.target_temperature
id is not really needed, it will show as the name of the trigger in the UI. Verify the name of your entity. Actually in such situations you may want to use the UI to set up automations, it can be really helpful.
Thank you for helping me work through it! I agree the gifs aren’t great; forum won’t let me upload a video, and my phone won’t let me generate longer than a 6-second gif. So I have to run the screen recording at 2x to turn it into a gif.
I have figured out a workaround; apparently the Above/Below properties are not optional. UI doesn’t make that clear, and I want all temp setpoint changes to trigger a notification while I’m still figuring out how to automate home temps with vanilla Home Assistant. So that if I make an automation that messes up the home temp, I’ll know right away and can go figure out what I messed up. But I’ve set the limits to ±100 degrees, so that’ll probably catch everything anyway.
I did not want to try your state version, because it’s YAML I do not understand and suspect may be wrong, and ultimately would rather use UI anyway. My reason in sharing YAML was to help other people see what exactly UI had made for me without needing screenshots of the multiple different UI screens. I suspect it may be wrong because ground is a floor, but you labeled it as id. And I don’t think climate.target_temperature exists per developer tools, either as a state or an attribute. I do see attribute climate.temperature in my developer tools, but I know attributes often can’t be called the same way as states so I don’t really know if that’s equivalent in the context of automation.
Oh funny, I don’t even need the above/below settings either. I just have to enable the disable the option, and then it lets me save. I see the YAML has an added options: {} that is not initially added by the UI.
All Labs features are experimental and not for production use. They can be incomplete, broken, and/or not work the way you think they should.
Turning them off is always an option.
If you have feedback or questions about them, the place to get help is Home Assistant