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

skodaconnect / myskoda / 14430260853
85%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2025 02:13PM UTC
Jobs 1
Files 36
Run time 1min
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

13 Apr 2025 02:12PM UTC coverage: 86.582% (-2.7%) from 89.297%
14430260853

push

github

web-flow
Debouncer + Refresh API data automatically on MQTT events (#411)

* Add debounce decorator for async functions

To be used to debounce self-initiated API requests and/or MQTT event
processing functions.

* Refresh API data automatically on MQTT events

This further moves API refreshes on operation and service MQTT events
from the integration (coordinator) to the MySkoda class.

* BREAKING CHANGE: Refactor MySkoda and MQTT update logic

This moves all update logic out of the coordinator and into the MySkoda lib.

The coordinator can still subscribe to MQTT events but they are not used for anything and just get exposed in corresponding entities.

The coordinator can now subscribe to 'update' events which MySkoda will callback when any Vehicle data was updated for whatever reason (including when it, the MySkoda lib, got an MQTT event). When receiving an update callback the coordinator just has to call async_set_updated_data and pass in the current Vehicle data.

2239 of 2586 relevant lines covered (86.58%)

0.87 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.14
0.14% models/common.py
18
83.6
0.0% mqtt.py
162
59.83
-11.48% myskoda.py
Jobs
ID Job ID Ran Files Coverage
1 14430260853.1 13 Apr 2025 02:13PM UTC 36
86.58
GitHub Action Run
Source Files on build 14430260853
  • Tree
  • List 36
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14430260853
  • b1912e47 on github
  • Prev Build on main (#14388450002)
  • Next Build on main (#14462115089)
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