Skip to content

Fix domain typo, add reconfigure flow, and prepare v0.3.0 release#1

Merged
Geek-MD merged 4 commits intomainfrom
copilot/fix-home-assistant-integration
Dec 11, 2025
Merged

Fix domain typo, add reconfigure flow, and prepare v0.3.0 release#1
Geek-MD merged 4 commits intomainfrom
copilot/fix-home-assistant-integration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Dec 11, 2025

Fixes critical domain name typo preventing integration load, resolves mypy type errors, and adds UI reconfiguration support. Prepares v0.3.0 release with changelog.

Fixed

  • Domain typo in const.py: "homebridge_momnitor""homebridge_monitor"

    • This typo would prevent Home Assistant from loading the integration
  • Type errors:

    • config_flow.py: Changed ConfigFlow(domain=DOMAIN) to class attribute DOMAIN = DOMAIN
    • binary_sensor.py: Added # type: ignore[no-any-return] for @callback decorated function
    • __init__.py: Added await to async_setup_platforms() call

Added

  • Reconfigure flow: Users can now reconfigure the integration from the Home Assistant UI without removing and re-adding it
    • Update host, swagger path, and SSL verification settings
    • Re-authenticate with new settings
    • Integration automatically reloads after reconfiguration
  • CHANGELOG.md following Keep a Changelog format
  • Release workflow auto-extracts v0.3.0 section for GitHub release notes

Changed

  • Version bumped to 0.3.0 in manifest.json and hacs.json (changed from 0.2.1 due to new feature addition)
  • README badges updated to standardized format with Ruff/Mypy/Hassfest workflow badge
  • Improved error messages in reconfigure flow for better debugging

All linters (Ruff, Mypy) and security checks (CodeQL) pass.

Original prompt

Chequea el funcionamiento de esta integración de Home Assistant, corrige los errores, marca la versión como v0.2.1, genera el changelog e incorpora la info del changelog de manera automática en las notas de la release v0.2.1


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Geek-MD <25725990+Geek-MD@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issues in Home Assistant integration and update version to v0.2.1 Fix domain typo and type errors for v0.2.1 release Dec 11, 2025
Copilot AI requested a review from Geek-MD December 11, 2025 03:49
@Geek-MD
Copy link
Copy Markdown
Owner

Geek-MD commented Dec 11, 2025

@copilot Agrega la posibilidad de reconfigurar la integración desde la UI

Copilot AI and others added 2 commits December 11, 2025 03:53
Co-authored-by: Geek-MD <25725990+Geek-MD@users.noreply.github.com>
Co-authored-by: Geek-MD <25725990+Geek-MD@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Dec 11, 2025

@copilot Agrega la posibilidad de reconfigurar la integración desde la UI

Añadida la funcionalidad de reconfiguración desde la UI. Los usuarios ahora pueden actualizar el host, swagger path y configuración SSL sin necesidad de eliminar y volver a añadir la integración. El flujo solicita re-autenticación y recarga automáticamente la integración con la nueva configuración. Cambios en commits 53f0602 y 4a1e8f7.

Copilot AI changed the title Fix domain typo and type errors for v0.2.1 release Fix domain typo, add reconfigure flow, and prepare v0.3.0 release Dec 11, 2025
@Geek-MD Geek-MD marked this pull request as ready for review December 11, 2025 03:58
@Geek-MD Geek-MD merged commit 1470dd4 into main Dec 11, 2025
4 checks passed
@Geek-MD Geek-MD deleted the copilot/fix-home-assistant-integration branch December 11, 2025 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants