Skip to content

Commit

Permalink
Housekeeping.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed Mar 12, 2024
1 parent 3efdb7f commit 91170ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/FeatureOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ These option(s) apply to: UniFi Access hub.
|--------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| `Hub.LockDelayInterval<I>.Value</I>` | Delay, in minutes, before locking the door lock relay, once it's been unlocked by HomeKit. If set to 0, it will remain unlocked indefinitely. By default, the door lock relay will lock five seconds after unlocking. **(default: 0)**.
| `Hub.Doorbell` | Add a doorbell accessory to handle doorbell ring events in HomeKit. **(default: enabled)**. <BR>*Supported on Access hubs that have a doorbell.*
| `Hub.Doorbell.Trigger` | Add a switch accessory for automation scenarios to trigger doorbell ring events on an Access doorbell. **(default: disabled)**. <BR>*Supported on Access hubs that have a doorbell.*
| `Hub.Doorbell.Trigger` | Add a switch accessory for automation scenarios to reflect (but not trigger) doorbell ring events on an Access doorbell. **(default: disabled)**. <BR>*Supported on Access hubs that have a doorbell.*

#### <A NAME="log"></A>Logging feature options.

Expand All @@ -91,3 +91,4 @@ These option(s) apply to: all Access device types.
|--------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| `Log.Doorbell` | Log doorbell ring events in Homebridge. **(default: enabled)**. <BR>*Supported on Access hubs that have a doorbell.*
| `Log.Lock` | Log lock events in Homebridge. **(default: enabled)**. <BR>*Supported on UniFi Access hub.*

2 changes: 1 addition & 1 deletion src/access-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const featureOptions: { [index: string]: FeatureOption[] } = {

{ default: false, defaultValue: ACCESS_DEVICE_UNLOCK_INTERVAL, description: "Delay, in minutes, before locking the door lock relay, once it's been unlocked by HomeKit. If set to 0, it will remain unlocked indefinitely. By default, the door lock relay will lock five seconds after unlocking.", name: "LockDelayInterval" },
{ default: true, description: "Add a doorbell accessory to handle doorbell ring events in HomeKit.", hasFeature: [ "door_bell" ], name: "Doorbell" },
{ default: false, description: "Add a switch accessory for automation scenarios to trigger doorbell ring events on an Access doorbell.", hasFeature: [ "door_bell" ], name: "Doorbell.Trigger" }
{ default: false, description: "Add a switch accessory for automation scenarios to reflect (but not trigger) doorbell ring events on an Access doorbell.", hasFeature: [ "door_bell" ], name: "Doorbell.Trigger" }
],

// Logging options.
Expand Down

0 comments on commit 91170ec

Please sign in to comment.