Closed mortenscheel closed 5 years ago
zoneGroupState.ZoneGroups.ZoneGroup is not always an array, which lead to ZoneGroup.ZoneGroupMember also not being an array.
zoneGroupState.ZoneGroups.ZoneGroup
ZoneGroup.ZoneGroupMember
This fixes an issue where sonos-cli list commands fail with TypeError: zone.ZoneGroupMember.find is not a function
sonos-cli
TypeError: zone.ZoneGroupMember.find is not a function
I'm not sure if this issue should be fixed here or in sonos-cli though.
:tada: This PR is included in version 1.12.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
zoneGroupState.ZoneGroups.ZoneGroup
is not always an array, which lead toZoneGroup.ZoneGroupMember
also not being an array.This fixes an issue where
sonos-cli
list commands fail withTypeError: zone.ZoneGroupMember.find is not a function
I'm not sure if this issue should be fixed here or in
sonos-cli
though.