Calendar light

Hi all
I have bought a led calendar light (IR remote), where I have the option of on, off, day up and day down. I would like the date during christmas to match on the calendar light. I’ve got the calendar light commands into homey via switchbot and I was planning to use the app “loop” to repeat the up/down function to match the corresponding day. But how do I retrieve a value that matches the day? If someone sits with a better idea, I’m of course all ears :slight_smile:

The easiest way is with the better logic library app. See the card at the bottom.
Another way is the flow at the top:
The third card checks if the current daynumber is between 1 and variable ‘daynumber’. If not then 1 is added to ‘daynumber’ and the flow starts itself again and again untill the daynumber is equal to the variable ‘daynumber’

1 Like

Thank you so much!