mirror of
https://github.com/Andre0512/pyhOn.git
synced 2026-09-17 22:24:26 +00:00
Merge 728a891e6c into 59e3d9949f
This commit is contained in:
commit
2e581e71f1
|
|
@ -86,9 +86,9 @@ class MQTTClient:
|
|||
)
|
||||
if topic and "appliancestatus" in topic:
|
||||
for parameter in payload["parameters"]:
|
||||
appliance.attributes["parameters"][parameter["parName"]].update(
|
||||
parameter
|
||||
)
|
||||
appliance.attributes["parameters"].setdefault(
|
||||
parameter["parName"], {}
|
||||
).update(parameter)
|
||||
appliance.sync_params_to_command("settings")
|
||||
elif topic and "disconnected" in topic:
|
||||
_LOGGER.info(
|
||||
|
|
|
|||
Loading…
Reference in a new issue