add new endpoints for app v2 #116
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["ota"] = botprod["product"]["ota"]
|
||||
bot["icon"] = botprod["product"]["iconUrl"]
|
||||
bot["model"] = botprod["product"]["model"]
|
||||
return json.dumps(
|
||||
bot, default=lambda o: o.__dict__, sort_keys=False
|
||||
) # , 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