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

Sun sunset offset not working

$
0
0

Hello, i am trying to make an automation where i need to do something before sunset. I did make an automation that should turn on a helper “tma” when its two hours before sunset and another one that turns the “tma” off on sunrise.

The problem for me is that the offset doesn’t matter. It is ignored. For me is the offset important. How to solve this? Or how you would do it?

Thanks.

My Automation:
alias: Turn on tma
description: ''
trigger:
  - platform: sun
    event: sunset
    offset: '-2'
condition: []
action:
  - service: input_boolean.turn_on
    data: {}
    target:
      entity_id: input_boolean.tma
mode: single

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105869

Trending Articles



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