Skip to content

Commit 7087529

Browse files
committed
Implement review suggestion
1 parent 0187ef5 commit 7087529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ async def set_schedule_state(
355355

356356
def determine_contexts(
357357
self, loc_id: str, name: str, state: str, sched_id: str
358-
) -> etree.Element:
358+
) -> str:
359359
"""Helper-function for set_schedule_state()."""
360360
locator = f'.//*[@id="{sched_id}"]/contexts'
361361
contexts = self._domain_objects.find(locator)

0 commit comments

Comments
 (0)