4.3.0
Pre-release
Pre-release
This release has been deprecated, please re-install homebridge-lib to revert to the latest version.
Changes:
- Lose
characteristics
property in favour ofaddCharacteristic()
. Problem was thatcharactertistic
was accessed from theServiceDelegete
supertype constructor, before the subtype was fully initialised (causingthis
to beundefined
).addCharacteristic()
takes a single parameter,params
, which has the same structure as an element of thecharactertistics
array. - Also added
params.didSet
, a function to be called as handler for thedidSet
event. - Fix wrong service key for context in
cachedAccessories
.