MainUI get Item state from Dynamic Item Name

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:
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:

But of course that’s not working.

Any help is appreciated!

Thank yall so much!

OK I found out how it works and my actual problem was dayjs returning the day name in German. So here is the solution: