michielpost / Q42.HueApi

C# helper library to talk to the Philips Hue bridge
MIT License
411 stars 114 forks source link

Setting CheckForUpdate results in an error: #85

Closed niels9001 closed 7 years ago

niels9001 commented 7 years ago

Setting CheckForUpdate results in an error:

` BridgeConfigUpdate CheckForUpdate = new BridgeConfigUpdate() { SoftwareUpdate = new SoftwareUpdate() { CheckForUpdate = true } };

        HueResults x = await Client.UpdateBridgeConfigAsync(CheckForUpdate);`

=

{"swupdate":{"updatestate":0,"notify":false,"checkforupdate":true},"touchlink":false}

Result:

[{"error":{"type":7,"address":"/config/updatestate","description":"invalid value, 0,, for parameter, updatestate"}},{"error":{"type":7,"address":"/config/swupdate/notify","description":"invalid value, false, for parameter, notify"}},{"success":{"/config/swupdate/checkforupdate":true}},{"error":{"type":7,"address":"/config/touchlink","description":"invalid value, false, for parameter, touchlink"}}]

michielpost commented 7 years ago

Should be fixed now in version 3.2.6