Skip to content

driver: add driver for waveshare RTU relay - #1441

Open
flxzt wants to merge 2 commits into
labgrid-project:masterfrom
flxzt:waveshare-rtu-relay
Open

driver: add driver for waveshare RTU relay#1441
flxzt wants to merge 2 commits into
labgrid-project:masterfrom
flxzt:waveshare-rtu-relay

driver: add WaveshareRTURelaisDriver

10788a9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 17, 2026 in 0s

60.7% (-0.1%) compared to e4f22e7

View this Pull Request on Codecov

60.7% (-0.1%) compared to e4f22e7

Details

Codecov Report

❌ Patch coverage is 60.75949% with 31 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.7%. Comparing base (e4f22e7) to head (10788a9).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
labgrid/driver/modbusrtudriver.py 46.6% 24 Missing ⚠️
labgrid/driver/wavesharerturelaisdriver.py 82.1% 5 Missing ⚠️
labgrid/resource/modbusrtu.py 60.0% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1441     +/-   ##
========================================
- Coverage    60.7%   60.7%   -0.1%     
========================================
  Files         184     185      +1     
  Lines       15099   15156     +57     
========================================
+ Hits         9180    9211     +31     
- Misses       5919    5945     +26     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.