Skip to content

Commit ecab941

Browse files
committed
fix: restore battery status fetching in async_update method
1 parent 6676ebc commit ecab941

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

custom_components/bose/bose/battery.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,7 @@ async def async_update(self) -> None:
5555
if not self.hass:
5656
return
5757
try:
58-
# battery_status = await self.speaker.get_battery_status()
59-
battery_status = dummy_battery_status()
58+
battery_status = await self.speaker.get_battery_status()
6059
self.update_from_battery_status(battery_status)
6160
self.async_write_ha_state()
6261
except Exception: # noqa: BLE001

0 commit comments

Comments
 (0)