From 1af621ef13e9ea24b4e6444c10294e681fa3be36 Mon Sep 17 00:00:00 2001 From: Sergio Gutierrez Alvarez Date: Wed, 3 Nov 2021 05:28:04 -0600 Subject: [PATCH] Fix battery_is_charging sensor on system bridge (#58980) --- homeassistant/components/system_bridge/binary_sensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/system_bridge/binary_sensor.py b/homeassistant/components/system_bridge/binary_sensor.py index a622a3a925a..7681a428cca 100644 --- a/homeassistant/components/system_bridge/binary_sensor.py +++ b/homeassistant/components/system_bridge/binary_sensor.py @@ -41,7 +41,7 @@ BATTERY_BINARY_SENSOR_TYPES: tuple[SystemBridgeBinarySensorEntityDescription, .. key="battery_is_charging", name="Battery Is Charging", device_class=DEVICE_CLASS_BATTERY_CHARGING, - value=lambda bridge: bridge.information.updates.available, + value=lambda bridge: bridge.battery.isCharging, ), )