Skip to content

Commit 1a13e95

Browse files
committed
Fixed typo and updated README
1 parent d3e6da1 commit 1a13e95

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Changelog
22

3+
## 1.0.2
4+
* Improved test coverage
5+
* Use of `httpmock` in tests
6+
7+
## 1.0.1
8+
* Added `go.mod` for Go 1.11 module compatibility
9+
10+
## 1,0.0
11+
Exiting beta and entering stable release
12+
313
## 1.0.0-beta.2
14+
Much better error handling. Whenever the bridge API returns an error, huego will return that to the user accordingly through an error struct rather than just throwing a json.UnmarshalTypeError.
415

516
## 1.0.0-beta.1
617
* `Sensor.State` and `Sensor.Config` is now `interface{}` since these varry depending on the type

huego_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ func init() {
272272
{
273273
method: "GET",
274274
path: "/capabilities",
275-
data: `{ "lights":{ "available": 10 }, "sensors":{ "availble": 60, "clip": { "available": 60 }, "zll": { "available": 60 }, "zgp": { "available": 60 } }, "groups": {}, "scenes": { "available": 100, "lightstates": { "available": 1500 } }, "rules": {}, "schedules": {}, "resourcelinks": {}, "whitelists": {}, "timezones": { "values":[ "Africa/Abidjan", "Africa/Accra", "Pacific/Wallis", "US/Pacific-New" ] } }`,
275+
data: `{ "lights":{ "available": 10 }, "sensors":{ "available": 60, "clip": { "available": 60 }, "zll": { "available": 60 }, "zgp": { "available": 60 } }, "groups": {}, "scenes": { "available": 100, "lightstates": { "available": 1500 } }, "rules": {}, "schedules": {}, "resourcelinks": {}, "whitelists": {}, "timezones": { "values":[ "Africa/Abidjan", "Africa/Accra", "Pacific/Wallis", "US/Pacific-New" ] } }`,
276276
},
277277

278278
// RESOURCELINK

0 commit comments

Comments
 (0)