Skip to content

Commit 6c1fc6a

Browse files
committed
Add missing starting-f
1 parent 3306774 commit 6c1fc6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/legacy/smile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ async def set_preset(self, _: str, preset: str) -> None:
173173
locator = f'rule/directives/when/then[@icon="{preset}"].../.../...'
174174
rule = self._domain_objects.find(locator)
175175
data = (
176-
"<rules><rule id='{rule.attrib['id']}'><active>true</active></rule></rules>"
176+
f"<rules><rule id='{rule.attrib['id']}'><active>true</active></rule></rules>"
177177
)
178178
await self.call_request(RULES, method="put", data=data)
179179

0 commit comments

Comments
 (0)