update EcoVacsHomeProducts

- new attribute model
This commit is contained in:
Robert Resch 2021-04-15 16:59:19 +02:00
parent 0b9f192ded
commit 03277b9d41
No known key found for this signature in database
GPG key ID: 6B360759EB2ACAEE
2 changed files with 1618 additions and 706 deletions

View file

@ -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)

File diff suppressed because it is too large Load diff