mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Update ring.js
This commit is contained in:
@@ -185,11 +185,12 @@ export default new class RingMqtt {
|
||||
location.isSubscribed = false
|
||||
location.isConnected = false
|
||||
this.locations.push(location)
|
||||
debug(location)
|
||||
}
|
||||
|
||||
// Get all location devices and, if camera support is enabled, cameras, chimes and intercoms
|
||||
const devices = await location.getDevices()
|
||||
debug(location.receivedAssetDeviceLists)
|
||||
|
||||
if (utils.config().enable_cameras) {
|
||||
cameras = location.cameras
|
||||
chimes = location.chimes
|
||||
|
Reference in New Issue
Block a user