Features
- Identify the Energy Socket during setup in the Home App by using the "Identify" button. The Energy Socket will flash a few times, so you know which Energy Socket it is to assign a proper name to it
- Will now show a warning in the Homebridge log when an Energy Socket cannot be enabled due the "Switch lock" setting being active.
Complete changelog
- refactor: remove jest references, we use vitest
04dacc9
- refactor: use as esm module to allow latest version of node-fetch to be used
7496aca
- test: mock api endpoints and let unit tests use those endpoints
6082fb3
- chore: add husky and lint-staged
7a01911
- refactor: use api class to handle api calls
165f9ff
- refactor: use native http and https node modules to do api requests
20d4f11
- fix: put request not having content length
11e2f30
- chore: update github yml files
45c84ca
- feat: handle the Identify event from HomeKit when setting up a accessory
02b779a
- chore: added codeql
dab04b1
- fix: build files not having the resolved alias paths
8c5d076
- test: add some platform unit tests
75ca082
- refactor: let httpRequest method use fetch options
d66a6c8
- chore: update types for node-fetch
95899a9
- refactor: move the types to the api directory
1dffdb2
- chore: cleanup code a bit
e750457
- chore: update readme
cb61b1d
- chore: use different build config to exclude test files
3711d52
- chore: tighten type check
26c579e
- feat: handle setting the state properly when switch_lock is true
15f0e6f
- fix: response.json() not returning the correct data
91f4a87
- chore(deps-dev): bump @types/jest from 29.2.3 to 29.2.4
0232206
- chore: add dependabot
59714df
- refactor: use consistent display name
cb94011
- chore: change workflow names
e2098ea
- chore: update readme
f954a1a
- chore: added the api error type
371d429
- chore: update readme about switch lock setting
9cd1423
- chore: better debug logging
97a379a
- chore: rename badge paths to this current project
e122ee2
- chore: do not install husky in ci
a229b94
- chore: update readme
8658fa4
- chore: added funding.yml
11222a4
- chore: remove console log
186da0a
- chore: also test for node 19
3bf00cb
- chore: exclude test files from build
1b658bb
- chore(deps-dev): bump @types/jest from 29.2.3 to 29.2.4
a038e31
- test: fix test having open handles
cd18275
- chore: add todo
c76a5ed
- chore: update readme on switch lock
209aaca
- chore: update package.json description
df9c344
- chore: update readme
d6db4a2
- chore: update package description
1e052b3
- chore: add images for docs/wiki
8eca2f1