Skip to content

Commit b2c3858

Browse files
committed
Fix set_preset() data
1 parent 66af160 commit b2c3858

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
@@ -206,7 +206,7 @@ async def set_preset(self, loc_id: str, preset: str) -> None:
206206
location_type = current_location.find("type").text
207207
data = (
208208
"<locations>"
209-
f"<location id='{loc_id}''>"
209+
f'<location id="{loc_id}">'
210210
f"<name>{location_name}</name>"
211211
f"<type>{location_type}</type>"
212212
f"<preset>{preset}</preset>"

0 commit comments

Comments
 (0)