• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

rytilahti / python-miio / 1539
73%
master: 74%

Build:
Build:
LAST BUILD BRANCH: fix/bump_cryptography_dep
DEFAULT BRANCH: master
Ran 15 Mar 2020 09:20PM UTC
Jobs 2
Files 43
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1539

push

travis-ci

rytilahti
Add fan_speed_presets() for querying available fan speeds

This returns a dictionary {name, value} of the available fan speeds,
the main driver being the need to simplify homeassistant integrations for different devices.

For viomi vacuums this is currently straightforward and hard-coded, but we do special handling
for rockrobo devices (based on info() responses):

* If the query succeeds, newer firmware versions (3.5.7+) of v1 are handled as a special case,
  otherwise the new-style [100-105] mapping is returned.

* If the query fails, we fall back to rockrobo v1's percentage-based mapping.
  This happens, e.g., when the vacuum has no cloud connectivity.

Related to #523

Related downstream issues
https://github.com/home-assistant/core/pull/32821
https://github.com/home-assistant/core/issues/31268
https://github.com/home-assistant/core/issues/27268

554 of 951 branches covered (58.25%)

Branch coverage included in aggregate %.

3919 of 5104 relevant lines covered (76.78%)

1.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1539.1 15 Mar 2020 09:20PM UTC 0
74.03
Travis Job 1539.1
2 1539.2 15 Mar 2020 09:20PM UTC 0
74.03
Travis Job 1539.2
Source Files on build 1539
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #1539
  • f14df412 on github
  • Next Build on fanspeed_reporting (#1541)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc