Skip to content

Commit 244b965

Browse files
committed
Remove now unused argument
1 parent c206544 commit 244b965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugwise/smile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def set_schedule_state(
347347
template_id = self._domain_objects.find(locator).attrib["id"]
348348
template = f'<template id="{template_id}" />'
349349

350-
contexts = self.determine_contexts(loc_id, name, new_state, schedule_rule_id)
350+
contexts = self.determine_contexts(loc_id, new_state, schedule_rule_id)
351351
data = (
352352
"<rules>"
353353
f"<rule id='{schedule_rule_id}'>"
@@ -362,7 +362,7 @@ async def set_schedule_state(
362362
self._schedule_old_states[loc_id][name] = new_state
363363

364364
def determine_contexts(
365-
self, loc_id: str, name: str, state: str, sched_id: str
365+
self, loc_id: str, state: str, sched_id: str
366366
) -> str:
367367
"""Helper-function for set_schedule_state()."""
368368
locator = f'.//*[@id="{sched_id}"]/contexts'

0 commit comments

Comments
 (0)