Bug fixes:
- Only expose accessories for locations from config.json; cached accessories are removed when no longer specified in config.json. See also #14;
- Check status (in body) returned by OpenWeatherMap.
Code refactor:
- Use
HttpClient
instead ofRestClient
from homebridge-lib. Under the hood, the dependency on the now deprecatedrequest
package was removed; - Use
async
/await
instead of promise.then()
; - Cleanup of old commented code.
Bump dependencies:
- NodeJS v12.16.1 LTS;
- homebridge-lib v4.5.1.