* Use MQTT for start-stream debug messages
* Fix ANSI colors
* Refactor event URL management
* Fix subscription detection
* Improve event URL expiry handling by parsing Amazon S3 expire time
* Convert to ESM/replace colors with chalk
* Force colors for chalk
* Migrate to ESM
* Fix stop of keepalive stream
* Add transcoded event selections
* Update event URL on raw/trancoded toggle
* Switch to per-camera livecall threads
* Customized WebRTC functions
Mostly copied from ring-client-api with port to pure Javascript, removal of unneeded features and additional debugging modified for use as worker thread with ring-mqtt. Allows easier testing with updated Werift versions.
* Add nightlight enable/disable
* Include nightlight state as attribute
* Only pro versions have nightlight
* Tweak battery level reporting for dual battery cameras
* Release 5.1.0
## v4.8.3
**New Features**
- The event stream select entity now includes eventId and recordingUrl attributes with values updated based on the selected event to facilitate automatic downloading of recorded videos. See the [camera documentation](CAMERAS.md) for more information and an example automation using Home Assistant downloader service.
- Dome sirens (and perhaps other Z-wave sirens) are now supported
**Fixed Bugs**
- Refactor and simplify snapshot functions, especially for battery cameras. This should hopefully fix the issue of no motion snapshots for users with battery powered cameras.
**Breaking Changes**
- Siren devices are now represented as a switch instead of a binary_sensor.
**Other Changes**
- Device debug output now includes device name for all entries, including all received commands
* 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)