Using an input_text helper in an automation?

Can I use a number from an input_text helper to set my on time in an automation?

Yes, but only if you use a template:

https://www.home-assistant.io/docs/automation/trigger/#state-trigger

Thanks, I didn’t think that I could edit automations.yaml when I use the UI to create them.

I don’t use the GUI automation editor but am pretty sure there is a “yaml view” mode you can use within the GUI.

Not for automations. Unless it’s well hidden.

According to this https://www.home-assistant.io/docs/automation/yaml/

Untitled

1 Like

Thanks- this tip goes into my notebook. (I knew it would be well hidden).