I want to create an automation that starts the dishwasher delayed. I want to do this on a specific method so that the timer is in the dishwasher and not dependent on HA when first activated. I have most of it set up and tested. My only problem is, that i don’t know how to input a sensor value to the select_option
You will need to use templates in a select.select_option action, not a Device action. Device actions are meant for basic uses and do not support advanced features like templates.
You will need to clarify what you mean here… does the integer represent the minutes, seconds, or something else?
Yes the integer represents the option with the delayed time HH:MM. 00:00, 0:30, 1:00, 1:30 ect. to 24:00. It will contain the one desired compared to the current time.
I did use the automation wizard as I’m not prone to programming. The wizard does not allow entity as actions. Can you help me with an example? The entity is named select.gaggenau_df270160f_68a40e0c737b_bsh_common_option_startinrelative
Your entity ID is missing its domain, i.e. sensor.dishwasher_delayed_option.
Again, you need to clarify what you mean here… “HH:MM” is not an integer, it’s a time string format. If your entity’s state returns a time string, your action should be fine once you fix the issue noted above.
Add action - other actions - perform action
will get you there in the ui.
I don’t know why they buttied it, it is the most important set of actions there.
I don’t think its a time string format. It works if i put plain text as “10:00”. Its just a select option like red, green, blue. but with the options 00:00, 00:30 etc. However it does not work with the sensor variable, i have corrected the domain. Will have a look at the sensor later.
Thanks to @Didgeridrew and @Sir_Goodenough
I got it working. I learnt a lot about the automation UI and a bit more into YAML but still a novice.
Also the Home Connect Alt needs a program to be selected after the delay before the start action is executed. I will add some logic to this part because if the same program is selected as the one allready set on the dishwaser the delay will not trigger and the dishwasher will start instantly.
Here is how the code is now. sensor.dishwasher_start_delay_option is just plain text looking like a timestamp as the options is made this way.