Skip to content

Reduce duplicate code #359

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

Merged
merged 19 commits into from
Jun 13, 2025
Merged

Conversation

zerzhang
Copy link
Collaborator

Reduce duplicate code for led series

Copy link

codecov bot commented Jun 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
switchbot/devices/air_purifier.py 100.00% <100.00%> (ø)
switchbot/devices/base_light.py 100.00% <100.00%> (ø)
switchbot/devices/bulb.py 100.00% <100.00%> (ø)
switchbot/devices/ceiling_light.py 100.00% <100.00%> (ø)
switchbot/devices/device.py 58.97% <100.00%> (+1.25%) ⬆️
switchbot/devices/evaporative_humidifier.py 100.00% <100.00%> (ø)
switchbot/devices/fan.py 100.00% <100.00%> (ø)
switchbot/devices/light_strip.py 100.00% <100.00%> (ø)
switchbot/devices/relay_switch.py 100.00% <100.00%> (ø)
switchbot/devices/vacuum.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bdraco
Copy link
Member

bdraco commented Jun 13, 2025

Thanks @zerzhang

@bdraco bdraco merged commit 3014972 into sblibs:master Jun 13, 2025
5 checks passed
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.

2 participants