Skip to content

Commit d192756

Browse files
committed
Format code with black
1 parent 9345c96 commit d192756

1 file changed

Lines changed: 23 additions & 2 deletions

File tree

dingz/dingz.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,20 @@
55
from yarl import URL
66

77
from . import make_call
8-
from .constants import API, DEVICE_INFO, TEMPERATURE, LIGHT, FRONT_LED_GET, FRONT_LED_SET, PUCK, SETTINGS, PIR_CONFIGURATION, THERMOSTAT_CONFIGURATION, INPUT_CONFIGURATION, BUTTON_ACTIONS
8+
from .constants import (
9+
API,
10+
BUTTON_ACTIONS,
11+
DEVICE_INFO,
12+
FRONT_LED_GET,
13+
FRONT_LED_SET,
14+
INPUT_CONFIGURATION,
15+
LIGHT,
16+
PIR_CONFIGURATION,
17+
PUCK,
18+
SETTINGS,
19+
TEMPERATURE,
20+
THERMOSTAT_CONFIGURATION,
21+
)
922

1023
_LOGGER = logging.getLogger(__name__)
1124

@@ -33,7 +46,15 @@ async def get_device_info(self) -> None:
3346

3447
async def get_info(self) -> None:
3548
"""Get everything from the dingz unit."""
36-
for endpoint in [PUCK, DEVICE_INFO, SETTINGS, PIR_CONFIGURATION, THERMOSTAT_CONFIGURATION, INPUT_CONFIGURATION, BUTTON_ACTIONS]:
49+
for endpoint in [
50+
PUCK,
51+
DEVICE_INFO,
52+
SETTINGS,
53+
PIR_CONFIGURATION,
54+
THERMOSTAT_CONFIGURATION,
55+
INPUT_CONFIGURATION,
56+
BUTTON_ACTIONS,
57+
]:
3758
url = URL(self.uri).join(URL(endpoint))
3859
self._catch_all[endpoint] = await make_call(self, uri=url)
3960

0 commit comments

Comments
 (0)