* Konnected - Fix multiple discovery of panels.
This resolves an issue which creates multiple discoveries of a Konnected panel if it is restarted and fails to connect to home assistant.
See #57467.
* Revert changes to user step, add handling to ssdp step.
* Add abort reason string to strings.json
* Abort ssdp discovery if device is already known.
* Add test for multiple discovery fix.
* Remove unrelated file change.
* Add ssdp discovery abort tests.
* Add missing abort reason check.
* Add "already_configured" to strings.
* Use "cannot_connect" abort reason.
* Allow async_setup changes to config entry data be taken into account
* Fix tests
* Limit scope try…finally
* Update tests/test_config_entries.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
* Fix import
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* add test to for importing multiple output settings
* provide option to set multiple output states
* tweaks after testing
* Update homeassistant/components/konnected/config_flow.py
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* dedup config flows
* use default (imported) options until user goes thru options flow
* address pr feedback
* correct key used to distinguish pro model
* fix unique_id computation for switches
* update konnected component to use async, config entries, registries. Pro board support and tests
* clean up formatting comments from PR
* use standard interfaces in tests
* migrate config flow to use options
* address latest pr feedback
* format for import as part of config schema validation
* address pr feedback
* lint fix
* simplify check based on pr feedback
* clarify default schema validation
* fix other schema checks
* fix translations
Co-authored-by: Nate Clark <nate@nateclark.com>