Closed enwi closed 3 years ago
Merging #68 (22e2cf3) into master (83d4883) will increase coverage by
7.28%
. The diff coverage is84.36%
.
@@ Coverage Diff @@
## master #68 +/- ##
==========================================
+ Coverage 73.50% 80.79% +7.28%
==========================================
Files 42 101 +59
Lines 4813 9311 +4498
==========================================
+ Hits 3538 7523 +3985
- Misses 1275 1788 +513
Impacted Files | Coverage Δ | |
---|---|---|
include/hueplusplus/BrightnessStrategy.h | 100.00% <ø> (ø) |
|
include/hueplusplus/ColorHueStrategy.h | 100.00% <ø> (ø) |
|
include/hueplusplus/ColorTemperatureStrategy.h | 100.00% <ø> (ø) |
|
...ude/hueplusplus/ExtendedColorTemperatureStrategy.h | 100.00% <ø> (ø) |
|
include/hueplusplus/HueCommandAPI.h | 100.00% <ø> (ø) |
|
include/hueplusplus/HueException.h | 100.00% <ø> (ø) |
|
include/hueplusplus/LinHttpHandler.h | 0.00% <ø> (ø) |
|
include/hueplusplus/SimpleBrightnessStrategy.h | 100.00% <ø> (ø) |
|
include/hueplusplus/SimpleColorHueStrategy.h | 100.00% <ø> (ø) |
|
...clude/hueplusplus/SimpleColorTemperatureStrategy.h | 100.00% <ø> (ø) |
|
... and 177 more |
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 83d4883...22e2cf3. Read the comment docs.
This pull request introduces 12 alerts when merging 959f4f152495f8e368cd0d52b8bac77b85495b94 into 83d4883211e61a66867f5736a96c667652ce333e - view on LGTM.com
new alerts:
This pull request introduces 12 alerts when merging eb44ea88895cc102f377dda2f333b7dab9f75e6f into 83d4883211e61a66867f5736a96c667652ce333e - view on LGTM.com
new alerts:
This pull request introduces 12 alerts when merging 35d4bb65cc4ff4923313d230c0980e90182030cb into 83d4883211e61a66867f5736a96c667652ce333e - view on LGTM.com
new alerts:
This pull request introduces 12 alerts when merging 22e2cf32a1457bb37bcdcb1a56e99377ce2311ec into 83d4883211e61a66867f5736a96c667652ce333e - view on LGTM.com
new alerts:
Version 1.0.0
Changes
hueplusplus
->src
,hueplusplus/include
->include/hueplusplus
)Breaking Changes
hueplusplus
Hue
->hueplusplus::Bridge
HueFinder
->hueplusplus::BridgeFinder
HueFinder::HueIdentification
->hueplusplus::BridgeFinder::BridgeIdentification
HueLight
->hueplusplus::Light
bridge.getLight(id)
->bridge.lights().get(id)
(also return type changed fromHueLight&
tohueplusplus::Light
(by value))bridge.getAllLights()
->bridge.lights().getAll()
(also return type changed fromstd::vector<std::reference_wrapper<HueLight>>
tostd::vector<hueplusplus::Light>
)bridge.removeLight(id)
->bridge.lights().remove(id)
bridge.lightExists(id)
->bridge.lights().exists(id)
light.setColorHueSaturation(hue, sat)
->light.setColorHueSaturation(hueplusplus::HueSaturation{hue, sat})
(orlight.setColorHueSaturation({hue, sat})
)light.setColorXY(x,y)
->light.setColorXY(hueplusplus::XYBrightness{{x,y},bri})
(orlight.setColorXY({{x,y},bri})
)light.getColorHueSaturation()
,light.getColorXY()
,light.setColorRGB()
,light.alertHueSaturation()
,light.alertXY()
light.alertRGB()
, uselight.alertXY()
orlight.alertHueSaturation()
instead and convert RGB firstbridge.getPictureOfModel(model_id)
toModelPictures.h
as a free function, removebridge.getPictureOfLight(id)
. Get modelid from light insteadkelvinToMired()
,miredToKelvin()
fromHueLight
toColorUnits.h
as a free functionlight.on()
,light.off()
,bridgeFinder.addUsername()
,bridgeFinder.getBridge()
,bridgeFinder.findBridges()
,hueplusplus::BridgeFinder::normalizeMac()
,kelvinToMired()
,miredToKelvin()
Bugfixes
50 Hue.cpp does not compile on Raspberry Pi (Debian Linux I think)
57 Add Philip LCA003 and LCB001 and issues with color conversion