gurumitts / pylutron-caseta

Apache License 2.0
157 stars 98 forks source link

Fix crash related to having no buttons in button group #157

Closed jordancoleman closed 9 months ago

jordancoleman commented 10 months ago

Using pylutron-caseta in Home Assistant, this code crashed on initialization. This change seems to handle the condition that was leading to the crash. See also https://github.com/home-assistant/core/issues/109095