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

FlexMeasures / flexmeasures-ha-integration
85%

Build:
DEFAULT BRANCH: main
Repo Added 30 Jan 2025 10:11AM UTC
Token y0GTPWKFJ5t8qilB1MADnIQeBCC3JUdlZ regen
Build 246 Last
Files 11
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • chore/move-integration-from-core-to-hacs
  • chore/upgrade-fm-client
  • feat/v0.4.0-modernization
  • feature/TUNES/automatic-change-control-type
  • feature/TUNES/create-service-send-frbc-instruction
  • feature/TUNES/limit-send-measurements
  • feature/TUNES/manual-frbc-schedule
  • feature/TUNES/send-active-actuator
  • feature/get-measurements-by-source
  • feature/services/expose-flex-model-context
  • feature/services/get_measurement
  • fix/TUNES/send-frbc-instruction
  • fix/client-0.9.5-polls-202
  • fix/credential-leak-in-log
  • fix/reload-integration-on-options-change
  • main
  • release/v0.3.8
  • v0.2.0
  • v0.2.0.dev0
  • v0.2.0.dev1
  • v0.2.0.dev2
  • v0.2.0.dev3
  • v0.2.1
  • v0.2.10
  • v0.2.11
  • v0.2.12
  • v0.2.13
  • v0.2.2
  • v0.2.3
  • v0.2.4
  • v0.2.5
  • v0.2.7
  • v0.2.8
  • v0.2.8.dev1
  • v0.2.8.dev2
  • v0.2.8.dev3
  • v0.2.9
  • v0.3.8
  • v0.3.9
  • v0.4.0
  • v0.4.1

16 Sep 2026 06:36PM UTC coverage: 85.213%. Remained the same
36947945666

push

github

web-flow
v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31)

* fix: poll for the schedule while FlexMeasures reports an unfinished job

Since FlexMeasures v1.0.0, polling a scheduling job that has not finished returns HTTP 202 with the job status.
flexmeasures-client 0.9.3 took that status payload for the schedule, so trigger_and_get_schedule failed with KeyError: 'values'.
Client 0.9.4 polls again on a 202; pin 0.9.5 and release as v0.4.1.

The new test mocks the HTTP layer instead of the client method, so it exercises the client's polling and fails on 0.9.3.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019heS4SVj8UqZ8BiMqDvoXj
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: build pre-commit hook environments on Python 3.14, as CI does

Otherwise pre-commit uses whichever Python runs it, and mypy on an older Python cannot parse the integration's 3.14 syntax.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019heS4SVj8UqZ8BiMqDvoXj
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* chore: pin flexmeasures-client 0.9.6, which also sends its version to the server

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019heS4SVj8UqZ8BiMqDvoXj
Signed-off-by: F.N. Claessen <claessen@seita.nl>

---------

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

461 of 541 relevant lines covered (85.21%)

0.85 hits per line

Relevant lines Covered
Build:
Build:
541 RELEVANT LINES 461 COVERED LINES
0.85 HITS PER LINE
Source Files on main
  • Tree
  • List 11
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
36947945666 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 02 Oct 2026 12:51AM UTC web-flow github
85.21
36798888952 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 01 Oct 2026 01:00AM UTC web-flow github
85.21
36652408032 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 30 Sep 2026 12:53AM UTC web-flow github
85.21
36505084911 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 29 Sep 2026 12:52AM UTC web-flow github
85.21
36363918592 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 28 Sep 2026 12:55AM UTC web-flow github
85.21
36283909517 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 27 Sep 2026 12:55AM UTC web-flow github
85.21
36206089447 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 26 Sep 2026 12:48AM UTC web-flow github
85.21
36079090550 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 25 Sep 2026 12:47AM UTC web-flow github
85.21
35939950165 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 24 Sep 2026 12:47AM UTC web-flow github
85.21
35803426614 main v0.4.1: fix KeyError 'values' when a FlexMeasures ≥ v1.0.0 schedule takes more than an instant (#31) * fix: poll for the schedule while FlexMeasures reports an unfinished job Since FlexMeasures v1.0.0, polling a scheduling job that has not finis... push 23 Sep 2026 12:46AM UTC web-flow github
85.21
See All Builds (242)

Badge your Repo: flexmeasures-ha-integration

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc