Skip to content

feat: Add config flow, SSDP discovery, coordinator, sensors v2.0.0#22

Open
MichaelB2018 wants to merge 2 commits into
postlund:masterfrom
MichaelB2018:feature/config-flow-v2
Open

feat: Add config flow, SSDP discovery, coordinator, sensors v2.0.0#22
MichaelB2018 wants to merge 2 commits into
postlund:masterfrom
MichaelB2018:feature/config-flow-v2

Conversation

@MichaelB2018

Copy link
Copy Markdown
  • Added UI config flow with manual setup and SSDP auto-discovery
  • Added options flow for configurable scan interval and motion timeout
  • Added DataUpdateCoordinator for centralized polling
  • Added temperature sensor and firmware version diagnostic sensor
  • Added diagnostics support with sensitive data redaction
  • Added device info, entity base class, and English translations
  • Migrated from legacy platform setup to modern integration architecture
  • Automatic migration from YAML configuration to config entries
  • Updated README, CHANGELOG, and hacs.json
  • Bumped minimum Home Assistant version to 2024.4.0

- Added UI config flow with manual setup and SSDP auto-discovery
- Added options flow for configurable scan interval and motion timeout
- Added DataUpdateCoordinator for centralized polling
- Added temperature sensor and firmware version diagnostic sensor
- Added diagnostics support with sensitive data redaction
- Added device info, entity base class, and English translations
- Migrated from legacy platform setup to modern integration architecture
- Automatic migration from YAML configuration to config entries
- Updated README, CHANGELOG, and hacs.json
- Bumped minimum Home Assistant version to 2024.4.0
@MichaelB2018

Copy link
Copy Markdown
Author

Note: This PR also supersedes the open PR #8 (Add device_info and unique_id), which was never merged due to unresolved bugs (KeyError: 'MotionDetectorLogList', missing await on coroutines, NoneType in actions).

Everything #8 was attempting is included in this v2.0.0 rewrite:

device_info with manufacturer, model, firmware version, and hardware version
unique_id via device serial number from config entries
Full device registry support through config flow (which @postlund noted was the required next step in #8)
All the bugs from #8 are resolved in the rewritten HNAP client with proper error handling and null-safe response parsing.

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.

1 participant