Compare commits
No commits in common. "cf0938a6fdb79d228a3ee680c21ff7f484b78191" and "feed73081843007f5dccf299c4e27c92bb4e3b1c" have entirely different histories.
cf0938a6fd
...
feed730818
|
|
@ -309,7 +309,7 @@ SENSOR_TYPES_WSLINK: tuple[WeatherSensorEntityDescription, ...] = (
|
|||
name="Outside Battery",
|
||||
icon="mdi:battery",
|
||||
device_class=SensorDeviceClass.ENUM,
|
||||
value_fn=lambda data: battery_level_to_text(int(data)) if data is not None and str(data).isdigit() else "unknown",
|
||||
value_fn=lambda data: cast("str", battery_level_to_text(data)),
|
||||
translation_key=OUTSIDE_BATTERY,
|
||||
),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -139,6 +139,7 @@
|
|||
},
|
||||
"outside_battery": { "name": "Outside battery level" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"notify": {
|
||||
"added": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue