this post was submitted on 27 Jun 2023
2 points (100.0% liked)

Home Assistant

135 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 1 year ago
MODERATORS
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/NeKapS9 on 2023-06-27 17:55:44+00:00.


Hello people,

I am trying to make a template for the full moon and would appreciate your help. It will be then sent as notification to some phone.

I got the below working and need to add 7 days to when the moon phase changed to 'waxing_gibbous'.

{% if is_state('sensor.moon', 'waxing_gibbous') %}
  Full moon in {{(as_timestamp(states.sensor.moon.last_changed) | timestamp_custom('%D'))}}
{% else %}
    There is time!
{% endif %}

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here