Homebridge v2 compatibility
- Migrated to async
onGet/onSetcharacteristic API to eliminate the(!)icon under HAP-NodeJS v2. - Updated
engines:node: ^22.10.0 || ^24.0.0,homebridge: ^1.8.0 || ^2.0.0. Existing Homebridge v1.8+ users are still supported.
Fixes
startOnRebootnow actually invokes the switch handler so the timer starts after a Homebridge restart (closes #84, #74).- Switched to
updateCharacteristicfor cleaner state notifications.
Closes
Credit to @palasinio (#85) and @sucitram (#82) for prior fix attempts that informed this release.