We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a57e010 commit 73ad65fCopy full SHA for 73ad65f
plugwise/legacy/smile.py
@@ -251,7 +251,7 @@ async def set_switch_state(
251
appl_name = appliance.find("name").text
252
appl_type = appliance.find("type").text
253
data = (
254
- f'<appliances><appliance id="{appl_id}"><name><![CDATA[{appl_name}]></name>'
+ f'<appliances><appliance id="{appl_id}"><name><![CDATA[{appl_name}]]></name>'
255
f"<description><![CDATA[]]></description><type><![CDATA[{appl_type}]]></type>"
256
f"<{switch.actuator}><{switch.func_type}><lock>{state}</lock></{switch.func_type}></{switch.actuator}>"
257
"</appliance></appliances>"
0 commit comments