Skip to content

Commit 6b382aa

Browse files
committed
Replace constant in legacy path
1 parent d63a898 commit 6b382aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/legacy/helper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
from plugwise.common import SmileCommon
1111
from plugwise.constants import (
1212
ACTIVE_ACTUATORS,
13+
ACTIVE_KEYS,
1314
ACTUATOR_CLASSES,
1415
APPLIANCES,
1516
ATTR_NAME,
@@ -19,7 +20,6 @@
1920
FAKE_APPL,
2021
FAKE_LOC,
2122
HEATER_CENTRAL_MEASUREMENTS,
22-
LIMITS,
2323
NONE,
2424
OFF,
2525
P1_LEGACY_MEASUREMENTS,
@@ -365,7 +365,7 @@ def _get_actuator_functionalities(
365365
) is not None and updated_date_key.text is None:
366366
continue # pragma: no cover
367367

368-
for key in LIMITS:
368+
for key in ACTIVE_KEYS:
369369
locator = (
370370
f'.//actuator_functionalities/{functionality}[type="{item}"]/{key}'
371371
)

0 commit comments

Comments
 (0)