Add additional characteristics to the statistics integration#62631
Add additional characteristics to the statistics integration#62631emontnemery merged 6 commits intohome-assistant:devfrom
Conversation
|
Hey there @fabaff, mind taking a look at this pull request as it has been labeled with an integration ( |
|
Like to see this merged. Tested without problems locally. |
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
|
Up. |
|
Thanks @emufan. I did reserve this evening for next steps with all open PRs. |
|
@emontnemery ready for review. Thanks! |
|
Just a question about: I think that should be: |
It is providing the time, when the numeric sensors had their max and min. E.g. Min temperature of a thermometer. And it is working for longer time here tested locally. |
|
@emufan 👌 @emontnemery the description is talking about "numeric source sensors", i.e. the observed sensor provides a numeric value and the statistic produces the datetime of its maximum/minimum value. |
Proposed change
Adds characteristics:
datetime_value_max/datetime_value_minfor numeric sensorsdatetime_oldest/datetime_newestfor binary sensorscount_on/count_offfor binary sensorsType of change
Additional information
Checklist
black --fast homeassistant tests)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest.requirements_all.txt.Updated by running
python3 -m script.gen_requirements_all..coveragerc.The integration reached or maintains the following Integration Quality Scale:
To help with the load of incoming pull requests: