Skip to content

Commit

Permalink
Deploying to master from @ 007cc64 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Jul 27, 2023
1 parent 63c6a23 commit 7c44bb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/api/accessory-plugins.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Accessory Plugins

⚠️ It is recommended to create new plugins with the [Dynamic Platform Plugin](#/api/platform-plugins) template instead of the using an accessory-type plugin.

### API.registerAccessory
> API.registerAccessory(accessoryName: string, constructor: AccessoryPluginConstructor): void
Expand Down
10 changes: 7 additions & 3 deletions docs/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ These plugin templates offer the following features:

#### Camera Plugin Template

- [homebridge-camera-plugin-template](https://github.com/homebridge/homebridge-plugin-camera-template)
- [homebridge-plugin-camera-template](https://github.com/homebridge/homebridge-plugin-camera-template)

---

### Deprecated Templates

Expand All @@ -42,10 +44,12 @@ expose a single accessory and don't require any special functionality.
[Platform plugins](/#/api/platform-plugins) are able to expose multiple accessories. Additionally, they are required if you want to use the
Controller API.

* [Dynamic Platform Plugin](https://github.com/homebridge/homebridge-examples/blob/master/dynamic-platform-example-typescript): Dynamic platforms can dynamically add or remove
* [Dynamic Platform Plugin](https://github.com/homebridge/homebridge-examples/blob/master/dynamic-platform-example-typescript)
* Dynamic platforms can dynamically add or remove
accessories at runtime. Accessories are fully stored to disk by homebridge, and the exact state is reconstructed on
a reboot. The plugin can store additional context as well.
* [Independent Platform Plugin](https://github.com/homebridge/homebridge-examples/blob/master/independent-platform-example-typescript): Independent platforms are typically used
* [Independent Platform Plugin](https://github.com/homebridge/homebridge-examples/blob/master/independent-platform-example-typescript)
* Independent platforms are typically used
when the platform intends to only expose external accessories or provides other functionality while not exposing
an accessory at all.
* [Bridged Camera Platform](https://github.com/homebridge/homebridge-examples/blob/master/bridged-camera-example-typescript)

0 comments on commit 7c44bb8

Please sign in to comment.