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

FlexMeasures / flexmeasures-ha-integration
84%
main: 84%

Build:
Build:
LAST BUILD BRANCH: feat/v0.4.0-modernization
DEFAULT BRANCH: main
Repo Added 30 Jan 2025 10:11AM UTC
Token y0GTPWKFJ5t8qilB1MADnIQeBCC3JUdlZ regen
Build 158 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 feat/v0.4.0-modernization
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/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

13 Jul 2026 09:10PM UTC coverage: 84.317% (+0.3%) from 84.029%
29285313532

Pull #30

github

Flix6x
feat: warn at startup when the FlexMeasures server is too old

flexmeasures-client >=0.8 posts and reads sensor data through endpoints
that FlexMeasures only serves from 0.28.0 on (scheduling needs 0.27.0).
Against an older server those calls 404 at the moment a service runs, so
an install that upgrades from v0.3.6 (which shipped client 0.7.0, using
the deprecated endpoints) keeps loading fine and then fails whenever an
automation triggers a schedule or posts a measurement.

Check the server version once in the background at startup and log a
warning naming both versions. Deliberately non-blocking: an unreachable
server is a separate problem, and the rest of the integration is useful
regardless.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Pull Request #30: v0.4.0: several FlexMeasures servers, plus modernization for Home Assistant 2026.7

457 of 542 relevant lines covered (84.32%)

0.84 hits per line

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

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29285313532 feat/v0.4.0-modernization feat: warn at startup when the FlexMeasures server is too old flexmeasures-client >=0.8 posts and reads sensor data through endpoints that FlexMeasures only serves from 0.28.0 on (scheduling needs 0.27.0). Against an older server those calls 404 ... Pull #30 13 Jul 2026 09:11PM UTC Flix6x github
84.32
29283496101 feat/v0.4.0-modernization test: configure asset_id in the smoke fixture's S2 section v0.4.0 refuses an S2 websocket connection when the S2 section is not configured, and the seeded entry is an old v2 one, which predates asset_id. Give the fixture a complete S2 section, so... Pull #30 13 Jul 2026 08:43PM UTC Flix6x github
84.12
29282883954 feat/v0.4.0-modernization ci: install the integration's requirements with uv, like Home Assistant does pip refuses s2-python on Python 3.14 (it declares Requires-Python <3.14), so the test job could not install flexmeasures-client[s2] on the Python that Home Assistant 202... Pull #30 13 Jul 2026 08:34PM UTC Flix6x github
84.12
29280991111 v0.3.9 fix: stop logging the FlexMeasures client (and thus the password) on websocket connect (#29) WebSocketHandler logged the whole FlexMeasuresClient at WARNING level on every incoming S2 websocket connection. The client is a dataclass, so its repr c... push 13 Jul 2026 08:07PM UTC web-flow github
84.03
29280931271 main fix: stop logging the FlexMeasures client (and thus the password) on websocket connect (#29) WebSocketHandler logged the whole FlexMeasuresClient at WARNING level on every incoming S2 websocket connection. The client is a dataclass, so its repr c... push 13 Jul 2026 08:06PM UTC web-flow github
84.03
29280800617 fix/credential-leak-in-log fix: stop logging the FlexMeasures client (and thus the password) on websocket connect WebSocketHandler logged the whole FlexMeasuresClient at WARNING level on every incoming S2 websocket connection. The client is a dataclass, so its repr contain... push 13 Jul 2026 08:04PM UTC Flix6x github
84.03
29280132571 v0.3.8 v0.3.8: fix the client pin that broke v0.3.7, revive CI, add real-HA smoke test (#28) * refactor: use const Signed-off-by: F.N. Claessen <felix@seita.nl> * refactor: use const for FM_CLIENT key Signed-off-by: F.N. Claessen <felix@seita.nl> * ... push 13 Jul 2026 07:54PM UTC web-flow github
84.07
29280071036 main v0.3.8: fix the client pin that broke v0.3.7, revive CI, add real-HA smoke test (#28) * refactor: use const Signed-off-by: F.N. Claessen <felix@seita.nl> * refactor: use const for FM_CLIENT key Signed-off-by: F.N. Claessen <felix@seita.nl> * ... push 13 Jul 2026 07:52PM UTC web-flow github
84.07
29182245539 release/v0.3.8 chore: add Apache-2.0 license HACS validation fails without a license file (1 of 9 checks). Matches the license of FlexMeasures core and flexmeasures-client. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <fe... Pull #28 13 Jul 2026 07:48PM UTC Flix6x github
84.07
29279209552 release/v0.3.8 chore: add Apache-2.0 license HACS validation fails without a license file (1 of 9 checks). Matches the license of FlexMeasures core and flexmeasures-client. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: F.N. Claessen <fe... Pull #28 13 Jul 2026 07:40PM UTC Flix6x github
84.07
See All Builds (155)

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 · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc