* Addresses #135443: Set on connect.
* Make clean start implementation compatible with v2 API
* Add tests
* Do not pass default value for `clean_start` on_connect
* Revert "Do not pass default value for `clean_start` on_connect"
This reverts commit 75806736cf.
* Use partial top pass kwargs to mqtt client connect
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: jbouwh <jan@jbsoft.nl>
* Bump paho-mqtt client to version 2.1.0
* Remove commented code
* Bump pyeconet==0.1.26
* Ensure types-paho-mqtt==1.6.0.20240321 is uninstalled if test requirements are updated
* Update roombapy dependency
* Remove pyeconet from exceptions list
* Revert changes to install test requirements task
* Move entry options to entry.options en remove broker setup from mqtt option flow
* UPdate diagnostics to export both entry data and options
* Parameterize entry options directly not depending on migration
* Update tests to use v2 entry and add separate migration test
* use start_reconfigure_flow helper
* Update quality scale comment
* Do minor entry upgrade, and do not force to upgrade entry
* Ensure options are read from older entries
* Add comment
* Follow up on code review
* Assert config entry version checking the broker connection
* Update comment
* Add reconfigure flow for MQTT integration
* Add test and translation strings
* Update quality scale configuration
* Do not cache ConfigEntry in flow
* Make sorce condition explictit
* Rework from suggested changes
* Do not allow reconfigure_entry and reconfigure_entry_data to be `None`
* 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>
* Alarm state from enum
* Fixes
* Set final
* Fix rebase
* Test const
* Fix breaking version
* Fix other for alarm_control_panel
* Fix integrations
* More
* More
* More
* More
* Fix zha
* Replace _attr_state
* Fix alarm_control_panel
* Fix tests
* Fixes
* Mods
* Change some
* More
* More
* More
* Tests
* Last tests
* Return enum
* Fix zha
* Remove not needed check
* Fix wording
* Fix homekit
* Mod prometheus
* Fix mypy
* Fix homekit
* Fix ifttt
* Move set addon options to aiohasupervisor
* addon stats to aiohasupervisor and test fixes
* addon changelogs to aiohasupervisor
* Raise correct error for library in tests
* Cache client in instance property
* Use singleton method rather then HassIO instance method
* Mock supervisor client in more tests