Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labgrid/driver/power: Backend for Ubiquity mFi mPower #1538

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

enkiusz
Copy link
Contributor

@enkiusz enkiusz commented Nov 6, 2024

Description

This module adds a backend driver for the Ubiquity mFi mPower controllable power strip. Only basic power on/off and status are supported, the web UI of the device itself has more information such as current power consumption. The code has been tested using local hardware. The simple REST driver could not be used for this device as it requires a login sequence in order to access the HTTP API.

Checklist

  • Documentation for the feature
  • The arguments and description in doc/configuration.rst have been updated
  • PR has been tested

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 0% with 47 lines in your changes missing coverage. Please review.

Project coverage is 56.3%. Comparing base (0304ec6) to head (e5404fd).

Files with missing lines Patch % Lines
labgrid/driver/power/mfi_mpower.py 0.0% 47 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #1538     +/-   ##
========================================
- Coverage    56.5%   56.3%   -0.3%     
========================================
  Files         168     169      +1     
  Lines       13111   13158     +47     
========================================
  Hits         7417    7417             
- Misses       5694    5741     +47     
Flag Coverage Δ
3.10 56.3% <0.0%> (-0.2%) ⬇️
3.11 56.3% <0.0%> (-0.2%) ⬇️
3.12 56.3% <0.0%> (-0.2%) ⬇️
3.13 56.3% <0.0%> (-0.2%) ⬇️
3.9 56.3% <0.0%> (-0.3%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant