Dear openhabians,
I have a simple problem but I’m lost for ideas on how to solve it.
I have seven items with the name of the weekday in it’s name like:
Schedule_Sunday
Schedule_Monday
And so on…
Now I want to display the item state basically by using dayjs in a label card to get the current day and then get the state of the item. In my mind something like this:
=items.Schedule_+dayjs().format(“dddd”).state
But of course that’s not working.
Any help is appreciated!
Thank yall so much!