Apply suggestions from code review

Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
Parker Brown 2025-02-17 15:47:19 -08:00 committed by GitHub
parent a5a163a23f
commit 0d26a2b587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ def sensor_update_to_bluetooth_data_update(
if key == "status":
val = val.name.lower()
else:
val = val * desc.scale
val *= desc.scale
data[tag] = val
names[tag] = desc.name
descs[tag] = desc