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

skodaconnect / myskoda / 14430260853

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

90.14
/models/common.py


Source Not Available

The file "models/common.py" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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

© 2026 Coveralls, Inc