mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Re-add Ring bridge support
This commit is contained in:
@@ -347,6 +347,8 @@ export default new class RingMqtt {
|
||||
case RingDeviceType.RangeExtender:
|
||||
return new RangeExtender(deviceInfo)
|
||||
case RingDeviceType.RingNetAdapter:
|
||||
// For some reason some locations have devices of type "ringnet" that are not real
|
||||
// so this filters devices with hidden tag to try to elimnate these phantom devices
|
||||
return device.tags?.includes('hidden') ? 'ignore' : Bridge(deviceInfo)
|
||||
case 'location.mode':
|
||||
return new ModesPanel(deviceInfo)
|
||||
|
Reference in New Issue
Block a user