* Adding camera motion detection enabled status for MQTT messaging. (#174)
* Temporarily warn on promise rejections only
* Temp hack to test fixes for losing camera ding/motion events
* Attempted fix for camera motion/ding events becoming unavailable
Co-authored-by: Steve Stevenson <sstevenson72@gmail.com>
4.5.0 Release
**New Features**
* During motion detection events, battery cameras will now attempt to get snapshots from the livestream since they can't take snapshots while recording. This takes longer, is slightly less reliable, and doesn't always produce the best image quality, but it's almost always better than no snapshot.
* Person detection attribute is available on camera motion sensors. This only works if you see "Person detected" events in the Ring app (needs more testing as my account does not support person detection for reasons unknown)
* Last motion/ding events are available as attributes on cameras
**Enhancements/Fixes**
* Snapshot on motion reliability is improved for line powered cameras
* Fixed various crashes in camera support
* Docker/addon now uses newer Alpine build with Node v14 to hopefully fix issues with reconnecting to Ring API after network interruptions
* Times in attributes now use a consistent format (ISO 8601 without milliseconds)
* Minor fixes for smart lighting support
* Fix (hopefully) non-fatal resubscribe errors
* Fix a few typos
* Bump MQTT dependency
* Documentation updates
* Add Home Assistant Device Model support
* Major refactor of device discovery and republish to simplify code
* Add support for alarm status
* Implement new topic heirarchy
* Add support for keypad status monitoring
* Misc bugfixes from refactor
* Remove legacy attribute support
* Display chirps only for security-keypad
* Add support for panic buttons
* Must be explicitly enabled with "enable_panic"
* Addon auto configuration
* Enhance web based token generator
* Improve error handling for token generation
* Add support for Home Assistant device registry for cameras
Version 3.1.1
* Remove unnecessary global variables
* Move mqttClient to AlarmDevice class and cleanup mqtt functions across devices
* Update README.md
*Update docker run command for getting an refresh token
* Implement onRefreshTokenUpdates to save new refresh tokens to config file
* Fix error with republish logic on MQTT birth messages from Home Assistant
* Add support for detection of online state before attempting connection to Ring servers
* Update ring-mqtt.service file with network.target dependency and log output to file
* Bump acorn from 7.1.0 to 7.1.1 (#69)
* Cleanup mqtt functions across devices
* Add support for refresh token to be stored in a separate file for HASS.io addon.
* Change hass_state topic to homeassistant/status (this matches default config for home assistant/HASS.io)