mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 11:47:06 +00:00
Fix battery_is_charging sensor on system bridge (#58980)
This commit is contained in:
parent
a7d958ae8a
commit
1af621ef13
@ -41,7 +41,7 @@ BATTERY_BINARY_SENSOR_TYPES: tuple[SystemBridgeBinarySensorEntityDescription, ..
|
|||||||
key="battery_is_charging",
|
key="battery_is_charging",
|
||||||
name="Battery Is Charging",
|
name="Battery Is Charging",
|
||||||
device_class=DEVICE_CLASS_BATTERY_CHARGING,
|
device_class=DEVICE_CLASS_BATTERY_CHARGING,
|
||||||
value=lambda bridge: bridge.information.updates.available,
|
value=lambda bridge: bridge.battery.isCharging,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user