I’m trying to collect some data about how many hours my kids spend watching TV and videogaming. I totally trust them but…u know…let’s collect some data for a rainy day
Creating some binary_sensor tracking when the devices are turned on won’t be a problem (using nmap for the console and the media_player entity for the tv)
I’m a bit puzzled on how I could create a metric for summing up all the given time intervals, let’s say on a daily base, and essentially create a weekly rolling average from the daily data.
it would be totally easy on a grafana (or something) dashboard, but i was wondering if it could be done on native too.
Tnx for the suggestions (actually I had the typo only on the snipped here, not in the real code…so this was not the issue unfortunately. But i’ll keep debugging)
about the new format…what a shame! i was not aware of that migrating all my stuff on the new format looks annoying…
But let’s say I will…since I’ve all my code in different files, ie.
are these mapping (relationships with the root configuration file) still valid? In other words, is it safe to just change the format inside the various included files, without worries of the rest?