dalinicus / homeassistant-acinfinity

AC Infinity integration for Home Assistant for UIS based controllers
MIT License
75 stars 4 forks source link

add state_class to select sensors to enable log term statistics #54

Closed dalinicus closed 4 months ago

dalinicus commented 4 months ago

add state_class to select sensors to enable log term statistics. This should make them available to the statistics graph card.

Sensors include Temp, Humidity, VPD, and Power Factor. Surplus specifically excluded as its a countdown to the next schedule phase and would hold little value as a log term statistic.

image

fixes #46

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (7a90a35) to head (a22d53b).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #54 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 11 11 Lines 664 664 ========================================= Hits 664 664 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.