Bluetooth-Devices / govee-ble

Manage Govee BLE devices
Apache License 2.0
19 stars 10 forks source link

fix: round temp values #52

Closed PierreAronnax closed 1 year ago

PierreAronnax commented 1 year ago

The humidity part is kept in the temperature part. Round temp_as_float to remove humidity part.

codecov[bot] commented 1 year ago

Codecov Report

Base: 79.88% // Head: 79.88% // No change to project coverage :thumbsup:

Coverage data is based on head (d588112) compared to base (c0a54eb). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #52 +/- ## ======================================= Coverage 79.88% 79.88% ======================================= Files 2 2 Lines 174 174 Branches 29 29 ======================================= Hits 139 139 Misses 30 30 Partials 5 5 ``` | [Impacted Files](https://codecov.io/gh/Bluetooth-Devices/govee-ble/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/govee\_ble/\_\_init\_\_.py](https://codecov.io/gh/Bluetooth-Devices/govee-ble/pull/52/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2dvdmVlX2JsZS9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [src/govee\_ble/parser.py](https://codecov.io/gh/Bluetooth-Devices/govee-ble/pull/52/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2dvdmVlX2JsZS9wYXJzZXIucHk=) | `79.28% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.