mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Don't scale status string
This commit is contained in:
parent
04c89263ee
commit
1e00585cd3
@ -170,7 +170,8 @@ def sensor_update_to_bluetooth_data_update(
|
||||
continue
|
||||
if key == "status":
|
||||
val = val.name.lower()
|
||||
val = val * desc.scale
|
||||
else:
|
||||
val = val * desc.scale
|
||||
data[tag] = val
|
||||
names[tag] = desc.name
|
||||
descs[tag] = desc
|
||||
|
Loading…
x
Reference in New Issue
Block a user