Skip to content

Commit

Permalink
feat: add panic button to known device types
Browse files Browse the repository at this point in the history
Closes #610
  • Loading branch information
dgreif committed Aug 14, 2021
1 parent f192fd9 commit ff26b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/ring-types.ts
Expand Up @@ -38,6 +38,7 @@ export enum RingDeviceType {
SecurityAccessCode = 'access-code',
ZWaveAdapter = 'adapter.zwave',
ZWaveExtender = 'range-extender.zwave',
PanicButton = 'security-panic',
}

// eslint-disable-next-line no-shadow
Expand Down
1 change: 1 addition & 0 deletions homebridge/ring-platform.ts
Expand Up @@ -62,6 +62,7 @@ const debug = __filename.includes('release-homebridge'),
RingDeviceType.ZWaveAdapter,
RingDeviceType.ZWaveExtender,
RingDeviceType.BeamsDevice,
RingDeviceType.PanicButton,
]

export const platformName = 'Ring'
Expand Down

0 comments on commit ff26b8d

Please sign in to comment.