home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.16k stars 29.83k forks source link

Homematic IP Weather sensor - state_class:measurement missing for today_rain and wind_speed #122977

Open wiwimaster opened 1 month ago

wiwimaster commented 1 month ago

The problem

The Homematic IP weather sensor adds state_class:measurement to temperature, humidity, and brightness, but not to wind speed and rainfall. This is wrong as the sensor measures all 5 values, and it prevents that rainfall and wind speed can be used for long-term data handling like the other values.

Examples:

Temperature: this includes the state_class:measurement

state_class: measurement
model_type: HmIP-SWO-PR
connection_type: HMIP_RF
rssi_device: -56
id: 3014F711A0001860C9991A18
is_group: false
unit_of_measurement: °C
device_class: temperature 

Rainfall state_class:measurement is missing

model_type: HmIP-SWO-PR
connection_type: HMIP_RF
rssi_device: -56
id: 3014F711A0001860C9991A18
is_group: false
unit_of_measurement: mm
device_class: precipitation

Wind speed: state_class:measurement is missing

model_type: HmIP-SWO-PR
connection_type: HMIP_RF
rssi_device: -58
id: 3014F711A0001860C9991A18
is_group: false
wind_direction: SSE
wind_direction_variation_in_degree: 22.5
unit_of_measurement: km/h
device_class: wind_speed

What version of Home Assistant Core has the issue?

core-2024.7.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Homematic IP Cloud

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homematicip_cloud/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @hahn-th, mind taking a look at this issue as it has been labeled with an integration (homematicip_cloud) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homematicip_cloud` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign homematicip_cloud` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homematicip_cloud documentation homematicip_cloud source (message by IssueLinks)