Skip to content

Commit

Permalink
feat(homebridge): support tilt sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
apexad authored and dgreif committed Sep 29, 2020
1 parent f6dcd3a commit f9ac587
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 @@ -10,6 +10,7 @@ export enum RingDeviceType {
FreezeSensor = 'sensor.freeze',
TemperatureSensor = 'sensor.temperature',
WaterSensor = 'sensor.water',
TiltSensor = 'sensor.tilt',
RangeExtender = 'range-extender.zwave',
ZigbeeAdapter = 'adapter.zigbee',
AccessCodeVault = 'access-code.vault',
Expand Down
1 change: 1 addition & 0 deletions homebridge/ring-platform.ts
Expand Up @@ -66,6 +66,7 @@ function getAccessoryClass(
switch (deviceType) {
case RingDeviceType.ContactSensor:
case RingDeviceType.RetrofitZone:
case RingDeviceType.TiltSensor:
return ContactSensor
case RingDeviceType.MotionSensor:
return MotionSensor
Expand Down

0 comments on commit f9ac587

Please sign in to comment.