We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
authorized_doorbots
1 parent fd70266 commit 1fd8f03Copy full SHA for 1fd8f03
api/api.ts
@@ -152,6 +152,7 @@ export class RingApi {
152
async fetchAndBuildLocations() {
153
const rawLocations = await this.fetchRawLocations(),
154
{
155
+ authorizedDoorbots,
156
doorbots,
157
allCameras,
158
baseStations,
@@ -161,7 +162,12 @@ export class RingApi {
161
162
x => x.location_id
163
),
164
cameras = allCameras.map(
- data => new RingCamera(data, doorbots.includes(data), this.restClient)
165
+ data =>
166
+ new RingCamera(
167
+ data,
168
+ doorbots.includes(data) || authorizedDoorbots.includes(data),
169
+ this.restClient
170
+ )
171
172
locations = rawLocations
173
.filter(location => {
0 commit comments