Re-add Ring bridge support

This commit is contained in:
tsightler
2023-09-02 18:53:26 -04:00
parent 137c9eaabc
commit a85eb06abd

View File

@@ -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)