Skip to content

Commit 7e2560d

Browse files
authored
Merge pull request #715 from plugwise/xml-fails
Fix set_preset() data
2 parents 66af160 + 5399228 commit 7e2560d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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>"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "1.7.2"
7+
version = "1.7.3a1"
88
license = {file = "LICENSE"}
99
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010
readme = "README.md"

0 commit comments

Comments
 (0)