studioimaginaire / phue

A Python library for the Philips Hue system
Other
1.52k stars 267 forks source link

Allow for group selection by name #84

Closed geudrik closed 2 years ago

geudrik commented 7 years ago

Fixes #83

geudrik commented 7 years ago
>>> b.group("Office")
<phue.Group object "Office" at 0x1045d9b10>

>>> b.group("Office").lights
[<phue.Light object "Office" at 0x1045f0350>]
mammuth commented 7 years ago

Wouldn't it be better to have a get_group_id_by_name similar to get_light_id_by_name to stay consistent?