mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-14 15:54:04 +02:00
Fix linting issues
This commit is contained in:
parent
dd141d2335
commit
b9f28dd0ab
1 changed files with 2 additions and 2 deletions
|
|
@ -96,6 +96,7 @@ from .const import (
|
|||
ATTR_ADAPT_BRIGHTNESS,
|
||||
ATTR_ADAPT_COLOR,
|
||||
ATTR_TURN_ON_OFF_LISTENER,
|
||||
CONF_ADAPT_DELAY,
|
||||
CONF_DETECT_NON_HA_CHANGES,
|
||||
CONF_INITIAL_TRANSITION,
|
||||
CONF_INTERVAL,
|
||||
|
|
@ -127,7 +128,6 @@ from .const import (
|
|||
SUN_EVENT_MIDNIGHT,
|
||||
SUN_EVENT_NOON,
|
||||
TURNING_OFF_DELAY,
|
||||
CONF_ADAPT_DELAY,
|
||||
VALIDATION_TUPLES,
|
||||
replace_none_str,
|
||||
)
|
||||
|
|
@ -963,7 +963,7 @@ class AdaptiveSwitch(SwitchEntity, RestoreEntity):
|
|||
"%s: Cancelling adjusting lights for %s", self._name, entity_id
|
||||
)
|
||||
return
|
||||
|
||||
|
||||
if self._adapt_delay > 0:
|
||||
_LOGGER.debug(
|
||||
"%s: sleep started for '%s' with context.id='%s'",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue