#How to read condition offsets

1 messages · Page 1 of 1 (latest)

shadow barn
#

I have this automation:
condition: sun
before: sunset
before_offset: "10:00"
I read it as being 10min, but its not working properly. do I have to specify xx.xx.xx as hour : minutes : seconds, or is it enough with xx : xx. Does it start with seconds xx, then minutes xx:xx and hours xx:xx:xx or hours, minutes, seconds?
I've been reading the docs and I can't seem to see it explained properly.

silent heart
#

When you say it's not working properly, what do you mean?
That condition will only let the automation run after being triggered if it's exactly 10 minutes before sunset, what is triggering the automation?

shadow barn
#

I just returned home at 12pm and the lights turned on, it was suppose to only turn on from 10min before sunset and after.

#

it is triggered from me entering the home zone with the condition of time before sunset

#

screenshot of the automation

lyric crane
#

It's probably reading that as ten hours

shadow barn
#

I've looked at these examples
and they show hours:minutes:seconds and I thought that I could omid the hours, but maybe it is a required format?

#

just didn't see anything in the documentation specifying format or how it's read, is 10 then hours, or seconds?

#

because when I use a delay and write 10.00, its delayed for 10minutes..

shadow barn
#

Why doesn't this condition pass?

#

Using this example

silent heart
#

Well... It'd help if you said what time it was for you, what time sunset and sunrise are etc