I’ve searched the forum, but haven’t found exact answer
i want to add watermeter measurement to HA, i’ve already done that, but readings are resetted to initial value when esp reboots, which is inacceptable for me
so, how to configure counter sensor which get data from esp, counting pulses /is it delta value?/ on HA server instead of esp, i think that HA server is much more reboot-resistant.
is it possible to store last counter value - and automatically restore it after reboot?
adding statistics sensor - e.g watermeter gives me watermeter_mean sensor. sensor has multiple attributes - “max value” “median” “count” etc.
the question is, how to display only one of those attributes /by template i think?/ so that i have only “count” value instead of all of them /and “mean” value seen on main screen.