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
I noticed that when I have rounding enabled in the options that it causes a discrepancy between the wind speed values displayed in the weather card versus what is displayed in the sensor. If rounding is disabled then then the wind speed values match up between the sensor and the card.
Expected behavior
The wind speed should be the same regardless of if rounding is enabled or not.
Actual behavior
Having rounding enabled causes the wind speed between the card and the sensors to differ.
Home Assistant version
2024.1.3
Integration version
1.4
Other details
While I'm not 100% sure how the conversion works for the weather card but it seems like its rounding the value first and then converting it to your local units.
Troubleshooting steps
I have updated my Home Assistant installation to the latest version.
I have updated the Pirate Weather Integration to the latest version.
@alexander0042 Is HA responsible for converting the units from the provided units into the one used by the install? If so then there might be no way to solve this issue then? The integration can only round when it gets the data and then HA converts it into local units which is where the difference lies.
EDIT: Thinking about it a bit if HA is the one that is doing the conversions then maybe for the entity it would make sense to have it removed on the entity and have it only affect sensors? Otherwise it will cause small discrepancies between the entity and the sensors.
cloneofghosts
changed the title
Turning on rounding causes wind speed discrepancy between weather card and sensors
Turning on rounding causes discrepancy between weather card and sensors
Feb 4, 2024
Describe the bug
I noticed that when I have rounding enabled in the options that it causes a discrepancy between the wind speed values displayed in the weather card versus what is displayed in the sensor. If rounding is disabled then then the wind speed values match up between the sensor and the card.
Expected behavior
The wind speed should be the same regardless of if rounding is enabled or not.
Actual behavior
Having rounding enabled causes the wind speed between the card and the sensors to differ.
Home Assistant version
2024.1.3
Integration version
1.4
Other details
While I'm not 100% sure how the conversion works for the weather card but it seems like its rounding the value first and then converting it to your local units.
Troubleshooting steps
The text was updated successfully, but these errors were encountered: