I have a sensor which is presenting states exactly like this:
[‘i morgen mandag 22. februar’, ‘onsdag 24. februar’, ‘fredag 26. februar’, ‘tirsdag 2. mars’, ‘torsdag 4. mars’]
I’m breaking these out into different sensors like this:
The sensors are created and the first sensor is given a state: [‘i morgen mandag 22. februar’
I would like to have it presented as a timestamp only - without the quotes and the [ .
I have changed the device_class to timestamp, but then its presented like mandag 22. februar 2001 ?
However, an entity’s state value is always stored as a string so we lose all the advantages of having a list (like accessing any item in the list by its index). The consequence is we have to resort to string parsing.
Where can i read up on the topic? As my knowlegde to all the Home Assistant stuff grows, so does the challenges…at the same pace my config and ui is developing