Skip to content

v1.3.0

Latest

Choose a tag to compare

@vale76p vale76p released this 07 Mar 23:08
  • ConfigEntryAuthFailed / ConfigEntryNotReady — async_setup_entry now raises proper
    HA exceptions instead of return False, enabling automatic credential re-prompt and retry UI.
  • Options flow precedence fix — poll interval is now read from entry.options before
    entry.data, so a configured override is preserved after integration reload.
  • Integration tests — 6 async tests with pytest-homeassistant-custom-component covering
    setup, auth failure, connection failure, unload, entity creation, and options reload.
  • HTTP client edge-case tests — 14 new tests covering login failures, HTTP errors, unauthenticated
    calls, and ensure_authenticated; client.py coverage raised to 91%.
  • HTML parser contract tests — 40 tests across 9 fixture files covering strategies A/B/C/D,
    EN/IT i18n, offline detection, parse errors, and all label resolution fallbacks; parsers.py at 100%.
  • mypy gradual type checking — [tool.mypy] section in pyproject.toml; CI blocks on type errors.
  • Extended ruff rules — added C4, PIE, RET, TC rule sets.
  • CI Python matrix — validate.yml now runs on Python 3.11 and 3.12.
  • Coverage gate — CI fails if total coverage drops below 85%.
  • release.yml — automated GitHub Release on v*.*.* tags, with manifest version