mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Release v5.6.1
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
## v5.6.1
|
||||
**New Features**
|
||||
- Add support for configuring chirp tones for Ring binary sensors
|
||||
- Return support for Ring Bridge
|
||||
- Snapshot camera attributes now include the snapshot type of the current snapshot in addition to the previous timestamp attribute. Snapshot types can be any of "motion", "ding", "interval" or "on-demand". This can assist with automation cases where a specific snapshot type is preffered. However, note that no snapshot is ever guarateed and it can sometimes take multiple seconds to request and return a snapshot so, as an example, if the automation is triggered by motion, but then waits for a motion snapshot, a timeout should also be included to keep the automation from waiting forever if for some reason the snapshot could not be retrieved.
|
||||
|
||||
**Dependcy Updates**
|
||||
- go2rtc v1.7.0
|
||||
|
||||
## v5.6.0
|
||||
**New Features**
|
||||
- Cameras now include a button entity to request an on-demand snapshot. This was a much requested feature and is intended primarily to allow snapshots to be triggered from automations (in Home Assistant this can be doen via the button press service). Note that on-demand snapshots are limited to no more than one request every 10 seconds, more frequent requests will be logged, but otherwise ignored. Also, low-power Ring cameras are unable to take snapshots while recording so there is no guarantee that a request for a snapshot on these cameras will be possible.
|
||||
|
@@ -238,7 +238,7 @@ export default new class RingMqtt {
|
||||
ringDevice = await this.getDevice(device, allDevices, events)
|
||||
switch (ringDevice) {
|
||||
case 'not-supported':
|
||||
// Save unsupported device type
|
||||
// Save unsupported device type for log output later
|
||||
unsupportedDevices.push(device.deviceType)
|
||||
case 'ignore':
|
||||
ringDevice=false
|
||||
@@ -337,7 +337,7 @@ export default new class RingMqtt {
|
||||
case RingDeviceType.BeamsDevice:
|
||||
return new BeamOutdoorPlug(deviceInfo)
|
||||
case RingDeviceType.MultiLevelSwitch:
|
||||
return (device.categoryId === 17) ? new Fan(deviceInfo) : new MultiLevelSwitch(deviceInfo)
|
||||
return device.categoryId === 17 ? new Fan(deviceInfo) : new MultiLevelSwitch(deviceInfo)
|
||||
case RingDeviceType.Switch:
|
||||
return new Switch(deviceInfo)
|
||||
case RingDeviceType.Keypad:
|
||||
@@ -347,7 +347,7 @@ export default new class RingMqtt {
|
||||
case RingDeviceType.RangeExtender:
|
||||
return new RangeExtender(deviceInfo)
|
||||
case RingDeviceType.RingNetAdapter:
|
||||
return new Bridge(deviceInfo)
|
||||
return device.tags?.includes('hidden') ? 'ignore' : Bridge(deviceInfo)
|
||||
case 'location.mode':
|
||||
return new ModesPanel(deviceInfo)
|
||||
case 'siren':
|
||||
|
Reference in New Issue
Block a user