Fix type for outdoor plug

This commit is contained in:
tsightler
2022-01-27 22:23:23 -05:00
parent 1fab329637
commit 9a17ddc332

View File

@@ -131,7 +131,7 @@ async function getDevice(device, mqttClient, allDevices) {
case RingDeviceType.BeamsDevice:
deviceInfo.category = 'lighting'
const childDevices = allDevices.find(d => d.data.parentZid === device.id && d.deviceType === RingDeviceType.BeamsSwitch)
return new BeamSmartOutlet(deviceInfo, childDevices)
return new BeamOutdoorPlug(deviceInfo, childDevices)
case RingDeviceType.MultiLevelSwitch:
return newDevice = (device.categoryId === 17)
? new Fan(deviceInfo)