Skip to content

Commit 3bf58f0

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9ae1d22 commit 3bf58f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

custom_components/plugwise/config_flow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from __future__ import annotations
44

5-
import datetime as dt # pw-beta options
65
from typing import Any
76

87
from plugwise import Smile
@@ -283,7 +282,7 @@ def _create_options_schema(self, coordinator):
283282
default=self._options.get(CONF_SCAN_INTERVAL, interval.seconds),
284283
): vol.All(cv.positive_int, vol.Clamp(min=10)),
285284
} # pw-beta
286-
285+
287286
if coordinator.api.smile_type == THERMOSTAT:
288287
schema.update({
289288
vol.Optional(
@@ -295,7 +294,7 @@ def _create_options_schema(self, coordinator):
295294
default=self._options.get(CONF_REFRESH_INTERVAL, 1.5),
296295
): vol.All(vol.Coerce(float), vol.Range(min=1.5, max=10.0)),
297296
}) # pw-beta
298-
297+
299298
return vol.Schema(schema)
300299

301300
async def async_step_none(

0 commit comments

Comments
 (0)