Ensure all bots are returned during getProductIotMap #70

Merged
aharter merged 1 commit from fix/bot-iot-map into master 2019-12-28 21:34:48 +01:00

1 commit

Author SHA1 Message Date
Andreas Harter
707a1149fd Ensure all bots are returned during getProductIotMap
During the use of the Ecovacs Home App, some bots do disappear from the
app. This is due to the getProductIotMap endpoint handler using its own
list of bots. This list contains only a fraction of the
EcoVacsHomeProducts list maintained in models.py. Replacing the handler
list with the global one follows DRY and simplifies maintenance in the
future.
2019-12-28 20:05:00 +01:00