• 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 v0.3.9
branch: v0.3.9
CHANGE BRANCH
x
Reset
Sync Branches
  • v0.3.9
  • 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

13 Jul 2026 08:04PM UTC coverage: 84.029% (-0.04%) from 84.069%
29280991111

push

github

web-flow
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 contains the configured password and username in plain text — they
ended up in the Home Assistant log, and in any log bundle shared for
support. The line was a leftover debug statement.

Adds a regression test that opens a websocket connection and asserts the
credentials do not appear in the captured log.

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

342 of 407 relevant lines covered (84.03%)

0.84 hits per line

Relevant lines Covered
Build:
Build:
407 RELEVANT LINES 342 COVERED LINES
0.84 HITS PER LINE
Source Files on v0.3.9
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
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
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