Open amimof opened 2 years ago
Merging #52 (ef38c24) into master (5668ae6) will decrease coverage by
8.73%
. The diff coverage is35.07%
.
@@ Coverage Diff @@
## master #52 +/- ##
==========================================
- Coverage 73.53% 64.80% -8.74%
==========================================
Files 5 12 +7
Lines 1436 1858 +422
==========================================
+ Hits 1056 1204 +148
- Misses 210 462 +252
- Partials 170 192 +22
Impacted Files | Coverage Δ | |
---|---|---|
v2/room.go | 0.00% <0.00%> (ø) |
|
v2/zone.go | 0.00% <0.00%> (ø) |
|
v2/clientv2.go | 15.78% <15.78%> (ø) |
|
v2/scene.go | 28.57% <28.57%> (ø) |
|
v2/light.go | 46.15% <46.15%> (ø) |
|
v2/huego.go | 52.00% <52.00%> (ø) |
|
v2/client.go | 55.26% <55.26%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 5668ae6...ef38c24. Read the comment docs.
Adds support for Hue API V2
Features
v2/
. Folder structure is not final at this point and is sobject to changeClient
struct which is the type used to interact with the Hue API. Instead of using the Bridge type. The Bridge type is now just a regular struct that represents the bridge resource in the V2 API.CLIPClient
which is a general purpose HTTP client. Sort of like a REST client but for Hue briges specifically.CLIPClient
usesRequest
&Response
types to communicate with Hue briges through aClient
type.http.Client
if they want.Progress