Skip to content

4.3.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@ebaauw ebaauw released this 15 Jul 09:02
6b5fbfd

This release has been deprecated, please re-install homebridge-lib to revert to the latest version.

Changes:

  • Lose characteristics property in favour of addCharacteristic(). Problem was that charactertistic was accessed from the ServiceDelegete supertype constructor, before the subtype was fully initialised (causing this to be undefined). addCharacteristic() takes a single parameter, params, which has the same structure as an element of the charactertistics array.
  • Also added params.didSet, a function to be called as handler for the didSet event.
  • Fix wrong service key for context in cachedAccessories.