Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105598

Sun based automation help?

$
0
0

@cam.wynd wrote:

I’ve got all my hardware working finally, but I could use some help on the automation side.

I’ve got my front hall monitored by a motion sensor, that successfully turns on the light when motion is seen, which is good. What I can’t figure out is how to have this happen only a half hour before sunset until a half hour after sunrise. I have this in the automation:

after: sunrise
after_offset: '+00:30:00'
before: sunset
before_offset: '-00:30:00'
condition: sun

But it doesn’t have any impact on time of day triggering. Can anyone suggest where I’m going wrong?

Thanks.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 105598

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>