Enhancements:
- Remove stale accessories (i.e. accessories restored from
~/.homebridge/accessories/cachedAccessories
that should no longer be exposed); - When
speakers
is set in config.json, the TV Speaker service links to the zone player volume. Otherwise it links to the zone group volume; - AirPlay is no longer selectable from TV input sources, cf. the Sonos app. You can only initiate AirPlay from the source. The TV accessory will still show AirPlay.
Bug fixes:
- Fix timing error when starting homebridge-zp after clearing
cachedAccessories
, that caused HomeKit to lose the Sonos accessories; - Flip Speaker service's
On
back to false, whenSonos Coordinator
hasn't yet been set; - Don't create accessory for Sonos Boost nor for Sonos Bridge, see #97;
- Honour
brightness
setting in config.json, see #98. - Honour
excludeAirPlay
setting in config.json, see #99;
Bump dependencies:
- NodeJS v10.16.2 LTS;
- homebridge-lib v4.4.3.