Skip to content

Commit

Permalink
Add ruff
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
  • Loading branch information
Danielhiversen committed Dec 28, 2023
1 parent ffb5f66 commit d777f47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tibber/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,8 @@ async def send_notification(self, title: str, message: str) -> bool:

async def fetch_consumption_data_active_homes(self) -> None:
"""Fetch consumption data for active homes."""
await asyncio.gather(*[tibber_home.fetch_consumption_data() for tibber_home in self.get_homes(only_active=True)])
await asyncio.gather(*[tibber_home.fetch_consumption_data()
for tibber_home in self.get_homes(only_active=True)])

async def fetch_production_data_active_homes(self) -> None:
"""Fetch production data for active homes."""
Expand Down

0 comments on commit d777f47

Please sign in to comment.