Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG committed Sep 4, 2020
1 parent 71a42dc commit 3b3a3c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miio/gateway/devices/subdevice.py
Expand Up @@ -193,7 +193,7 @@ def unpair(self):
@command()
def get_battery(self):
"""Update the battery level, if available."""
if self._gw.model not in [GATEWAY_MODEL_EU, GATEWAY_MODEL_ZIG3] :
if self._gw.model not in [GATEWAY_MODEL_EU, GATEWAY_MODEL_ZIG3]:
self._battery = self.send("get_battery").pop()
else:
_LOGGER.info(
Expand Down

0 comments on commit 3b3a3c9

Please sign in to comment.