Releases: jvandenaardweg/homebridge-homewizard-energy-socket
Releases · jvandenaardweg/homebridge-homewizard-energy-socket
v1.2.3
v1.2.2
v1.2.1
v1.2.0
Fix
- Wrong name for Energy Socket when found in the Home App
Complete changelog
- feat: use undici fetch for http requests
275b253
- chore: restructure project
c3ebd82
- test: up the test coverage for api
a07356c
- test: added unit tests for energy socket accessory
ae62555
- refactor: update homewizard api class
db2cdb6
- test: api server errors
157fc50
- feat: use request from undici instead of fetch, to also support node 14
84bf634
- refactor: update http request method with better error handling
36d0e27
- refactor: better types on put endpoint
b6afb57
- refactor: use default timeout for http requests
70f99fc
- chore: update readme
537cc34
- test: make energy socket accessory test simpler
8afacd2
- chore: cleanup vite.setup.ts
0f18cc6
- chore: update readme
b320100
- refactor: api error message
ee3c548
- chore: remove mock dir from build dir
be1dd53
- fix: type error
a3d2bb2
- fix: consistently use displayName
820ccc6
- chore: update readme
a0832c2
- refactor: return NOT_ALLOWED_IN_CURRENT_STATE when switch_lock = true
b2b0056
v1.1.0
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