* Add function resolveEntityByID() function as an improved alternative for parseEntityID()
* Port deviceGroupMembership.ts from parseEntityID() to resolveEntityByID()
* Migrade groups.ts from parseEntityID() to resolveEntityByID()
* Improve test coverage on groups functionality
* Migrate from parseEntityID() to resolveEntityByID() for bridge functionality
* Migrate from parseEntityID() to resolveEntityByID() for bind functionality
* Finally get rid of parseEntityID() function
* Fix linter issues
* Move resolveEntityAndEndpoint() function to zigbee.ts
---------
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Poll brightness/state after recalling scene
When a ZigBee Scene Controller is recalling a scene through a direct binding
we need to poll for changed state and brightness.
* Also poll for color changes on scene recalling
* Force copy of settings.schema.json
* Update bind.js
* Update zigbeeHerdsman.js
* Update bind.test.js
* Update bind.js
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
* Support Tradfri Remote buttons triggering polling
* Update Tradfri remote test commandStepWithOnOff
Will now poll both LevelCtrl and OnOff in case light turns on
* Update the right test this time
* Updating both tests
* Update debounce test
Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
Also one comment typo lol
`node-static` was abandoned and vulnerable, which might matter since
it's used in production usage and not development.
replaced with popular `serve-static` + `finalhandler`
`json-stable-stringify` depended on an unneeded and unlicensed
polyfill for JSON builtin.