I want to create card in Lovelace that shows histogram for that sensor - how many times specifc state occurs. Please see example histogram for above logbook.
I am also seeking for a solution for such topic in the moment I am working with integration for each state and show the integrated values but these creates a lot of entities