You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
attached is a small patch sensor.py.txt which adds "state_class" = "measurement" to the sensor attributes.
This will enable Long Term Statistics for the sensors.
I made it such that it returns state_class = measurement for all sensors.
I'm not sure it this is true for the sensors which increase during the day (like for example distance).
It would be nice if you could merge this.
best,
Johannes.
The text was updated successfully, but these errors were encountered:
Hi,
attached is a small patch sensor.py.txt which adds "state_class" = "measurement" to the sensor attributes.
This will enable Long Term Statistics for the sensors.
I made it such that it returns state_class = measurement for all sensors.
I'm not sure it this is true for the sensors which increase during the day (like for example distance).
It would be nice if you could merge this.
best,
Johannes.
The text was updated successfully, but these errors were encountered: