Skip to content

Commit

Permalink
reformat with black
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Feb 11, 2024
1 parent 7fe95b4 commit 8e53bd2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
9 changes: 4 additions & 5 deletions custom_components/myheat/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

TIMEOUT = 10


_LOGGER: logging.Logger = logging.getLogger(__package__)

HEADERS = {
Expand All @@ -35,10 +34,10 @@ def __init__(
session: aiohttp.ClientSession,
) -> None:
"""Sample API Client."""
self._username :str= username
self._api_key :str= api_key
self._device_id:int = device_id
self._session :aiohttp.ClientSession= session
self._username: str = username
self._api_key: str = api_key
self._device_id: int = device_id
self._session: aiohttp.ClientSession = session

async def async_get_devices(self) -> dict:
"""Get available devices"""
Expand Down
24 changes: 12 additions & 12 deletions custom_components/myheat/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"domain": "myheat",
"name": "MyHeat",
"codeowners": ["@vooon"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/vooon/hass-myheat",
"integration_type": "device",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/vooon/hass-myheat/issues",
"loggers": ["myheat"],
"requirements": [],
"version": "0.2.0"
"domain": "myheat",
"name": "MyHeat",
"codeowners": ["@vooon"],
"config_flow": true,
"dependencies": [],
"documentation": "https://github.com/vooon/hass-myheat",
"integration_type": "device",
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/vooon/hass-myheat/issues",
"loggers": ["myheat"],
"requirements": [],
"version": "0.2.0",
}

0 comments on commit 8e53bd2

Please sign in to comment.