golles / ha-kamstrup_403

Custom component that integrates the Kamstrup 403 heating system into Home Assistant. This component does also support a few other heating systems
MIT License
70 stars 10 forks source link

Use `serial.serial_for_url` when connecting in order to support serial over tcp #88

Closed recht closed 1 year ago

recht commented 1 year ago

The serial_for_url also supports local /dev/* and comX, so it should be backwards compatible.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (37a762b) 59.31% compared to head (2f36e74) 59.31%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #88 +/- ## ======================================= Coverage 59.31% 59.31% ======================================= Files 8 8 Lines 349 349 ======================================= Hits 207 207 Misses 142 142 ``` | [Impacted Files](https://app.codecov.io/gh/golles/ha-kamstrup_403/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sander) | Coverage Δ | | |---|---|---| | [custom\_components/kamstrup\_403/config\_flow.py](https://app.codecov.io/gh/golles/ha-kamstrup_403/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sander#diff-Y3VzdG9tX2NvbXBvbmVudHMva2Ftc3RydXBfNDAzL2NvbmZpZ19mbG93LnB5) | `92.10% <ø> (ø)` | | | [custom\_components/kamstrup\_403/\_\_init\_\_.py](https://app.codecov.io/gh/golles/ha-kamstrup_403/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sander#diff-Y3VzdG9tX2NvbXBvbmVudHMva2Ftc3RydXBfNDAzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [...tom\_components/kamstrup\_403/pykamstrup/kamstrup.py](https://app.codecov.io/gh/golles/ha-kamstrup_403/pull/88?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Sander#diff-Y3VzdG9tX2NvbXBvbmVudHMva2Ftc3RydXBfNDAzL3B5a2Ftc3RydXAva2Ftc3RydXAucHk=) | `14.28% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.