Update ring.js

This commit is contained in:
Tom Sightler
2024-04-23 22:11:31 -04:00
parent 648f72f10c
commit 09dfaf5e42

View File

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