Oliver84 / omnilogic

Omnilogic integration for Home Assistant
2 stars 0 forks source link

Handle response with only 1 BOW #12

Closed Oliver84 closed 4 years ago

Oliver84 commented 4 years ago

Right now we assume that the API will always send a list of BOWS back even if there's only 1. However, if there's only 1, it doesn't send a list, just an object. So we need to be able to handle either a list, or an object in the BOWS response

Oliver84 commented 4 years ago

This might be better handled in the API instead of here