gicamm / homeassistant-comelit

With Comelit Hub/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.
Apache License 2.0
23 stars 7 forks source link

Add some integration tests #93

Closed gicamm closed 2 months ago

gicamm commented 2 months ago

Add some tests Fix the cover state

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 95.87629% with 8 lines in your changes missing coverage. Please review.

Project coverage is 67.87%. Comparing base (bddbf26) to head (befb5a8).

Files Patch % Lines
tests/test_alarm_control_panel.py 88.23% 4 Missing :warning:
tests/test_hub.py 96.55% 2 Missing :warning:
custom_components/comelit/hub.py 66.66% 1 Missing :warning:
custom_components/comelit/vedo.py 66.66% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #93 +/- ## =========================================== + Coverage 20.00% 67.87% +47.87% =========================================== Files 2 20 +18 Lines 10 1183 +1173 =========================================== + Hits 2 803 +801 - Misses 8 380 +372 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.