LightwaveRF lights could not be dimmed properly as they require a dim level
of betwene 0-32. The Domoticz documentation incorrectly states this should be
0-16.
Other devices may use different values which is why the MaxDimLevel property
should be used rather than hardcoded value.
Also refactored the code slightly.
Apparently, if TargetHeatingCoolingState is not writable, you can’t add
a thermostat to a scene. This fix makes it writable from HomeKit, but
it still always remains set to HEAT.
Cleaned up some more old cruft, added config-sample.json entry, and now
there’s a different default grouping of characteristics, which makes
for more optional characteristics on fewer services. The older behavior
(more services per accessory) can be switched on in config.json. The
new default works better in Eve, other clients not so much.
* 'master' of https://github.com/nmelo/homebridge:
[MiLight] Swap cooler/warmer direction for white bulbs, and add note about delay
[MiLight] Update config-sample.json to replace MiLight accessory with MiLight platform
[MiLight] Add missing callback from hue function
[MiLight] Modify logging to show the zone name when used as a platform accessory
[MiLight] Converted accessory to platform. Not fully tested yet
Proposing idea to de-asynchronize Sonos device discovery with a timeout event for push.
I have no IDE at hand right now, so please check syntax before merging!
I have no Sonos devices, so please check somebody with the hardware at hand!
Thanks
Raoul
Basically, I needed to provide a default value instead of a
`getDefaultValue` function. Keeping with this for a while before trying
battery stats and door sensors again, but I think I figured out my
compliance problems…don’t know how it ever successfully added before,
actually.
Also removed some more cruft from the earlier old-API version and
started laying some groundwork for polling/updating from ZWay.