We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e0ed1 commit fdd19c1Copy full SHA for fdd19c1
plugwise/smile.py
@@ -16,7 +16,6 @@
16
DOMAIN_OBJECTS,
17
GATEWAY_REBOOT,
18
LOCATIONS,
19
- LOGGER,
20
MAX_SETPOINT,
21
MIN_SETPOINT,
22
NONE,
@@ -427,7 +426,6 @@ async def set_switch_state(
427
426
uri = f"{APPLIANCES};id={appl_id}/{switch.device};id={switch_id}"
428
if model == "relay":
429
lock_blocked = self.gw_entities[appl_id]["switches"].get("lock")
430
- LOGGER.debug("HOI lock_blocked=%s", lock_blocked)
431
if lock_blocked or lock_blocked is None:
432
# Don't switch a relay when its corresponding lock-state is true or no
433
# lock is present. That means the relay can't be controlled by the user.
0 commit comments