* Update const.py
DEFAULT_DELAY = 1 to DEFAULT_DELAY = 100 to fix timeout when adding a new device
* Update config_flow.py
continuous=False to continuous=True to fix timeout when adding a new device
* Update homeassistant/components/roomba/const.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Update test_config_flow.py
Change CONF_DELAY to match DEFAULT_DELAY (30 sec instead of 1)
* Update tests/components/roomba/test_config_flow.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Use constant for DEFAULT_DELAY in tests
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: jbouwh <jan@jbsoft.nl>
* Raise on non-string unique id for config entry
* Add test update entry
* Fix breaking
* Add check get_entry_by_domain_and_unique_id
* Naming
* Add test
* Fix logic
* No unique id
* Fix tests
* Fixes
* Fix gardena
* Not related to this PR
* Update docstring and comment
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add progress support to MQTT update platform and add validation on state updates
* Clean up cast to type class
* Add support for display_precision attribute
* Allow MQTT device based auto discovery
* Fix merge error
* Remove unused import
* Fix discovery device based topics
* Fix cannot delete twice
* Improve cleanup test
* Follow up comment
* Typo
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Explain more
* Use tuple
* Default a device payload to have priority over a platform based payload
* Add unique_id to sensor test data
* Set migration flag to mark a discovery topic for migration
* Correct type hint
* Make unique_id required for components in device based discovery payload
* Remove CONF_MIGRATE_DISCOVERY from platform schema
* Unload discovered MQTT item to allow migration
* Follow up comments from code review
* ruff
* Subscribe to platform discovery wildcards first
* Use normal dict
* Use dict to persist wildcard subscription order
* Remove missed unused parameter
* Add a comment to explain we use a dict to preserve the subscription order
* Add wildcard subscription order test
* Remove discovery flag from test
* Improve discovery migration origin logging
* Assert initial wildcard discovery topics subscription order and after reconnect
* Improve log messages
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Add repair issue
* Add tests
* Add option to not use builtin go2rtc provider
* Add test
* Add domain to new providers
* Add learn more url
* Update placeholder
* Promote the builtin provider
* Refactor provider storage
* Move check for legacy provider conflict to refresh
* Test provider registration race
* Add test for registering the same legacy provider twice
* Test test_get_not_supported_legacy_provider
* Remove blank line between bullets
* Call it built-in
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Revert "Add option to not use builtin go2rtc provider"
This reverts commit 4e31bad6c0c23d5a1c0935c985351808a46163d6.
* Revert "Add test"
This reverts commit ddf85fd4db2c78b15c1cdc716804b965f3a1f4e3.
* Update issue description
* async_close_session is optional
* Clean up after rebase
* Add required domain property to provider tests
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>