Skip to content

Commit

Permalink
add examples to remove cache accessories
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Oct 25, 2024
1 parent 4602e77 commit 7aea3e2
Show file tree
Hide file tree
Showing 8 changed files with 299 additions and 339 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
dist

# ------------- Defaults ------------- #
.DS_Store

# Logs
logs
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@
>
> Once Homebridge v2.0 has been released, you can remove the `-beta.0` in both places.
> [!IMPORTANT]
> **Node v22 Information**
>
> This template currently has a
> - `package.json -> engines.node` value of `"^18.20.4 || ^20.16.0 || ^22.5.1"`
>
> This is to remind developers that plugins should be supporting Node v22 from October 2024.
---

This is a template Homebridge dynamic platform plugin and can be used as a base to help you get started developing your own plugin.
Expand Down Expand Up @@ -82,6 +74,8 @@ Open the [`config.schema.json`](./config.schema.json) file and change the follow

- `pluginAlias` - set this to match the `PLATFORM_NAME` you defined in the previous step.

See the [Homebridge API docs](https://developers.homebridge.io/#/config-schema#default-values) for more details on the other attributes you can set in the `config.schema.json` file.

### Build Plugin

TypeScript needs to be compiled into JavaScript before it can run. The following command will compile the contents of your [`src`](./src) directory and put the resulting code into the `dist` folder.
Expand Down
1 change: 1 addition & 0 deletions config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"pluginAlias": "ExampleHomebridgePlugin",
"pluginType": "platform",
"singular": true,
"strictValidation": false,
"schema": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit 7aea3e2

Please sign in to comment.