Skip to content

Commit 4111ae9

Browse files
committed
Add space to match what's on the Smile
1 parent fb7f294 commit 4111ae9

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
@@ -517,7 +517,7 @@ async def set_schedule_state(self, loc_id: str, name: str, state: str) -> bool:
517517
template_id = self._domain_objects.find(locator).attrib["id"]
518518
template = f'<template id="{template_id}" />'
519519
if state == "off":
520-
contexts = "<contexts></contexts>"
520+
contexts = "<contexts> </contexts>"
521521
if state == "on":
522522
contexts = f'<contexts><context><zone><location id="{loc_id}" /></zone></context></contexts>'
523523
else: # Adam

0 commit comments

Comments
 (0)