mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Apply suggestions from code review
Co-authored-by: Shay Levy <levyshay1@gmail.com>
This commit is contained in:
parent
a5a163a23f
commit
0d26a2b587
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user