You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Server.prototype._createAccessory a potentially supplied AccessoryInformation from the getServices of an Accessory is merged with the default one from the constructor. Because the reference from the constructor is kept instead of the one from getServices, it is not possible to update the Characteristic.Model etc. with a setValue after a callback, using the reference from getServices.
Can it be changed to keep the reference from getServices and merge the default fields into that one?
The text was updated successfully, but these errors were encountered:
xdissent
added a commit
to xdissent/homebridge
that referenced
this issue
Sep 20, 2016
This issue has been automatically marked as stale because it has not had recent activity, and will be closed if no further activity occurs. If this issue was overlooked, forgotten, or should remain open for any other reason, please reply here to call attention to it and remove the stale status. Thank you for your contributions.
In Server.prototype._createAccessory a potentially supplied AccessoryInformation from the getServices of an Accessory is merged with the default one from the constructor. Because the reference from the constructor is kept instead of the one from getServices, it is not possible to update the Characteristic.Model etc. with a setValue after a callback, using the reference from getServices.
Can it be changed to keep the reference from getServices and merge the default fields into that one?
The text was updated successfully, but these errors were encountered: