MCPcopy Create free account
hub / github.com/dgreif/ring / sendCommandToSecurityPanel

Method sendCommandToSecurityPanel

packages/ring-client-api/location.ts:352–358  ·  view source on GitHub ↗
(
    commandType: string,
    data?: Record<string, unknown>,
  )

Source from the content-addressed store, hash-verified

350 }
351
352 async sendCommandToSecurityPanel(
353 commandType: string,
354 data?: Record<string, unknown>,
355 ) {
356 const securityPanel = await this.getSecurityPanel()
357 securityPanel.sendCommand(commandType, data)
358 }
359
360 async setAlarmMode(alarmMode: AlarmMode, bypassSensorZids?: string[]) {
361 const securityPanel = await this.getSecurityPanel(),

Callers 3

setAlarmModeMethod · 0.95
soundSirenMethod · 0.95
silenceSirenMethod · 0.95

Calls 2

getSecurityPanelMethod · 0.95
sendCommandMethod · 0.80

Tested by

no test coverage detected