Hello, for my shutter automation i have created a helper input.number for setup the delaytime in minutes after sunset as trigger. When HA is rebooted while delaytime is running, action aborts.
So I try to create a sensor as timestamp with sunset + delaytime and set as triggertime but i cant get it work
I suggest you try what I had proposed for someone else who had a similar requirement:
For your application, you only need to create one of the two proposed Template Sensors (Sunset Offset) and then use it in an automation’s Time Trigger.
BTW, if you are trying to use your Template Sensor in a Time Trigger, it won’t work because its device_class property must be timestamp.
I don’t understand what you want to do. Your previous post asked for “editable offset over UI with another helper” and your current post asks for “replace this helper with the offsettime in the code”.
So which is it? With or without the Input Number helper?