dlarrick / pykumo

Python library to interact with Mitsubishi KumoCloud devices via their local API
MIT License
35 stars 12 forks source link

kumo_dict is not flat - need to recurse #5

Closed brianr2600 closed 4 years ago

brianr2600 commented 4 years ago

If the user has groups or changeover groups configured, kumo_dict may have a hierarchy of items. In my setup, all of the indoor units are in a changeover group, and so the actual items are in kumo_dict[2]['children'][0]['children']

dlarrick commented 4 years ago

See the 'zones' branch, pushed just yesterday. If you're using this with HomeAssistant you'll also need the 'zones' branch of https://github.com/dlarrick/hass-kumo/tree/zones .

Please report back if you try this branch. If it works for folks I'll merge it in.

dlarrick commented 4 years ago

Fixed by https://github.com/dlarrick/pykumo/pull/6