mirror of
https://github.com/sususweet/midea-meiju-codec.git
synced 2025-09-27 18:22:41 +00:00
fix a JSON field error
This commit is contained in:
@@ -37,7 +37,7 @@ class MideaCodec(LuaRuntime):
|
|||||||
if self._sn is not None:
|
if self._sn is not None:
|
||||||
device_info["deviceSN"] = self._sn
|
device_info["deviceSN"] = self._sn
|
||||||
if self._sub_type is not None:
|
if self._sub_type is not None:
|
||||||
device_info["deviceSN"] = self._sub_type
|
device_info["deviceSubType"] = self._sub_type
|
||||||
base_dict = {
|
base_dict = {
|
||||||
"deviceinfo": device_info
|
"deviceinfo": device_info
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user