-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3-beta6 #28
1.3-beta6 #28
Conversation
- Degrees F to C conversion before uploading sensors data - Sanity check for sensors values
…lidate_measurement` for validating measurements. - Added unit tests for `get_supported_state_value` covering various scenarios for different device classes and units of measurement. - Added more debug logging for better visibility.
unit_of_measurement = "°C" | ||
|
||
# Convert Kelvin to Celsius | ||
elif unit_of_measurement == "K": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be "K" or °K"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for reviewing the code, mate. It is just "K" as per:
Temperature units
class UnitOfTemperature(StrEnum):
"""Temperature units."""
CELSIUS = "°C"
FAHRENHEIT = "°F"
KELVIN = "K"
`
I have just refactored this to HASS constants to be perfect :) |
Just hold on merging it. It seems that there is an issue. |
- Extra DEBUG logging for visibility
I fixed the issue within json_timeseries library. Please merge. |
Hey @Olen . Just wanted to follow-up on this PR. Can you please merge as soon as possible? Thank you. |
Please merge.