Skip to content

Commit

Permalink
Fix battery_is_charging sensor on system bridge (#58980)
Browse files Browse the repository at this point in the history
  • Loading branch information
arksega authored Nov 3, 2021
1 parent a7d958a commit 1af621e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/system_bridge/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SystemBridgeBinarySensorEntityDescription(BinarySensorEntityDescription):
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,
),
)

Expand Down

0 comments on commit 1af621e

Please sign in to comment.