huey
huey copied to clipboard
Added a new Bridge class
Hi! I added a Bridge class in order to view/change the Hue Bridge properties, and to programmatically "push" the link-button remotely. It needs unit-test coverage, but works well so far in my own usage. I added simple usage-documentation to your readme. Thanks for your awesome gem!
Firstly this is great!
May I suggest adding a single method just for pushing the link button/linking:
def link!
linkbutton = true
save
end
That way its a simpler interface to auto linking..
Thanks for the suggestion robert2d; I added this method, as well as updated the bridge attributes since the Hue team has added quite a lot to the API (latest v1.5 I think).
Any chance of this getting merged :bulb: