Access automation configuration from custom card js

Hi,
I’m trying to access and change the trigger configuration from a custom card javascript.
Does anyone know a way to achieve this?
/ Daniel

What do you mean with trigger configuration?

I want to create a card where I can change the time of an automation to use for a wake-up alarm.

Create an input_datetime and use it as a trigger for your automation. Then you can add that input_datetime to your card and change it there and your automation will automatically take the new value.

1 Like

That worked brilliantly, thank you very much!