update EcoVacsHomeProducts
- new attribute model
This commit is contained in:
parent
0b9f192ded
commit
03277b9d41
2 changed files with 1618 additions and 706 deletions
|
|
@ -337,6 +337,7 @@ def bot_toEcoVacsHome_JSON(bot): # EcoVacs Home
|
||||||
bot["UILogicId"] = botprod["product"]["UILogicId"]
|
bot["UILogicId"] = botprod["product"]["UILogicId"]
|
||||||
bot["ota"] = botprod["product"]["ota"]
|
bot["ota"] = botprod["product"]["ota"]
|
||||||
bot["icon"] = botprod["product"]["iconUrl"]
|
bot["icon"] = botprod["product"]["iconUrl"]
|
||||||
|
bot["model"] = botprod["product"]["model"]
|
||||||
return json.dumps(
|
return json.dumps(
|
||||||
bot, default=lambda o: o.__dict__, sort_keys=False
|
bot, default=lambda o: o.__dict__, sort_keys=False
|
||||||
) # , indent=4)
|
) # , indent=4)
|
||||||
|
|
|
||||||
2323
bumper/models.py
2323
bumper/models.py
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue