Closed niels9001 closed 7 years ago
In the documentation battery is marked WO, Optional for Put Commands. Indicating they can be provided. But seems logical you can't update the battery status yourself. https://developers.meethue.com/documentation/supported-sensors
If you make battery and reachable null, they won't be send to the bridge. I'll make an update so they will be automatically removed.
Fixed in release 3.2.7, now on NuGet
Sensor selectedSensor = selectedSwitch.DataContext as Sensor;
HueResults x = await Client.ChangeSensorConfigAsync(selectedSensor.Id, selectedSensor.Config);
Seems that the reachable and battery should be ignored.