How can you build a sensor template that converts a sensor attribute string like "2022-03-26T00:00:00.000+01:00,0,0,0,0,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,1?" ( a start datetime and status for following hours ) to a format that is suitable for an apex chart with data generator?
I think the topic should fit to the Templates support tag.
I have posted more info on my attempts so far , these were BOT'ed as code wall and moved to "https://hastebin.com/ipihiwomuw" and "https://hastebin.com/xicufokeca" Probably because they contained jinja and other code.
I have read the HA Templates and Jinja dokumentation, but I am stuck. 😕
Have anyone done something similar or know where to find relevant information?