kingsleyadam / local-abbfreeathome

A Python Package for interacting with the ABB (Busch Jaeger) Free@Home System via the Local API
MIT License
3 stars 2 forks source link

Expose ws_close to FreeAtHome object, make callbacks optional #12

Closed kingsleyadam closed 1 week ago

kingsleyadam commented 1 week ago

Exposes the ws_close to the FreeAtHome class to allow the class to close the websocket if needed.

Makes the callback optional on the websocket listen, mostly for testing purposes.

github-actions[bot] commented 1 week ago

Code Coverage

Package Line Rate Complexity Health
.opt.hostedtoolcache.Python.3.12.6.x64.lib.python3.12.site-packages.abbfreeathome 100% 0
.opt.hostedtoolcache.Python.3.12.6.x64.lib.python3.12.site-packages.abbfreeathome.bin 100% 0
.opt.hostedtoolcache.Python.3.12.6.x64.lib.python3.12.site-packages.abbfreeathome.devices 100% 0
Summary 100% (1108 / 1108) 0
github-actions[bot] commented 1 week ago
TestsPassed ✅Skipped ⏭️Failed ❌
JUnit Test Report62 ran62 passed0 skipped0 failed
TestResult
-No test annotations available-