Automation - Edition

Hi,

Is there a way to edit automation rules with other things than the UI of the app ?

I tried with the CLI but it does not seems to list automation rules.

I have a device with a switch and heating and cooling setpoints. What I want to do is just to set the heating and cooling setpoint but not to affect the switch state. The UI forces the selection of the switch values and the rules created contains a switch settings which I do not want.

Is there a way to fix this ?

thanks,

you can’t edit the automations with any API, but you could create a new automation using the Rules API and Postman.

ok, this is what I thought. I will try to understand how to use the rule api.

thanks!