Show Binary Sensor History as a Bar Graph

Is there any way to show a binary sensor as a bar graph - maybe through creating a template sensor of some kind based upon it, but (not only am I not sure how to do that and if required can someone help on the configuraiton.yaml code) I would rather just have the display based off of the original sensor?

The mini-graph card or apex charts can do this. e.g. https://github.com/kalkih/mini-graph-card#non-numeric-sensor-states

1 Like