Hi all, I have NodeRed connected with Home Assistant.
I would like to trigger an action (set_cover_position to specific value) 30 minutes before the sun rises.
I was thinking in getting this value from "sun.sun" entity:
And triggering the set_cover_position service if current dates matches that with an offset of 30 minutes, but I really don’t know how to put the pieces together to implement this flow.
Anyone can guide me in the correct direction? Thanks a lot!