Features
- Use
OutletInUse
property to run automations when your Energy Socket uses a certain amount of power. More info: https://github.com/jvandenaardweg/homebridge-homewizard-energy-socket/wiki/About-the-Outlet-In-Use-characteristic
Complete changelog
- chore: update dependencies
7963a8d
- feat: add config options to use OutletInUse
4d08312
- refactor: use schema validation using zod to check if config is valid
4fa05c8
- refactor: better typings and tests
b3c9f87
- feat: use zod for config schema validation
757fd7b
- chore: remove ts-node dependency
0e5537e
- feat: use homewizard-energy-api library
6a2eb5a
- feat: extended API to also fetch the /data endpoint
299e585
- refactor: improve logging and constructor method of accessory
ae89cf1
- feat: set outlet in use characteristic if active_power_w is greater than 5
854a6d3
- chore: add types for api data endpoint
5a5edca
- chore(deps-dev): bump eslint from 8.29.0 to 8.30.0
cac8161
- refactor: throw different error on api response
ac624de
- test: full test coverage of api
3dde486
- feat: keep OutletInUse characteristic in sync with On if outletInUse config is not set
212a439
- feat: use polling from homewizard-energy-api
bfc4006
- test: make use of api class simpler
81c2635
- refactor: use correct defaults
8f2ad75
- chore: update keywords
14f097b
- test: error thrown on data endpoint
cebad14
- chore(deps): bump homewizard-energy-api from 1.1.1 to 1.2.0
5e193b9
- chore(deps-dev): bump @types/node from 18.11.15 to 18.11.17
5af67e9
- refactor: set initial outletinuse value to true when config option is not present
e3bf76b
- refactor: better logging
ca7853e
- test: better settings test
9d37253
- refactor: make api error response parameters required
791fd3e
- test: simpler type overwrite for productType param test
75b49fc
- refactor: use sync method for outletinuse state
3c6ecb7
- chore: update config content
265d421
- chore: update funding
e001f1e
- chore: update readme about issue
f24aa24
- chore: update funding
5c68bcd