plugwise / plugwise_usb-beta

Custom-component / development version of the USB Plugwise Home Assistant platform
MIT License
4 stars 4 forks source link

Some minor cleanups #127

Closed mvdwetering closed 6 months ago

mvdwetering commented 7 months ago

When browsing the sources I noticed a few unused things that could be cleaned up.

The "domains" key in hacs.json is not supported. I guess it was supported in the past, but it is not documented anymore on https://hacs.xyz/docs/publish/start/#hacsjson

Removed unused constants and util.py which was not used.

The integration still loads fine for me after the changes. I did not run the tests as it is unclear to me how to do so. Usually there is a requirements.txt or requirements_test.txt file to install dependencies and then just run pytest, but that didn't work and could not find instructions on how to do it.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud