* Add returning activity state
* update tests
* update tests
* set can return to returning state
* update MQTT tests
* update mqtt back to docked
* fix up other tests that I broke again
* re-add mower_can_dock
* Opt in to install Mosquitto broker add-on in MQTT config flow
* rephrase
* Tests with supervisor and running add-on
* Complete tests for success flows
* Also set up entry in success flow
* Use realistic names for addon and broker
* Finetuning and fail test cases
* Spelling
* Improve translation strings
* Update addon docstr
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Raise AddonError if add-on does not start
* Only show the option to use the add-on
* Simplify flow, rework and cleanup
* Revert unrelated cleanup, process suggestion
* Move ADDON_SLUG const to addon module
* Move fixture to component level
* Move back supervisor fixture
* Move addon_setup_time_fixture and superfixe to config flow model tests
* Refactor hassio fixture
* Rename helpers as they are no fixtures, remove fixture from their names
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Publish raw rendered mqtt payload as raw for mqtt publish action
* Move check out of try block
* Only try to eval `bytes` is payload starts with supported string
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Improve docst
* Add `evaluate_bytes` option to publish action
* Rename to `evaluate_payload`
* Update homeassistant/components/mqtt/strings.json
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Extend test to assert literal_eval is called or not
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Cleanup unneeded assignment of hass property on MQTT Template objects
* Commented out code and unneeded checks
* Consistent assign hass to Template in mqtt tests
* Remove unused hass attribute
* Missed line
* Climate temperature out of range
* Fix test sensibo
* use temp converting for min/max
* Fix
* Fix mqtt tests
* Fix honeywell tests
* Fix Balboa tests
* Fix whirlpool test
* Fix teslemetry test
* Fix plugwise test
* Fix tplink test
* Fix generic thermostat test
* Fix modbus test
* Fix fritzbox tests
* Honewell
* Fix issue where an MQTT device is removed linked to two config entries
* Update homeassistant/components/mqtt/discovery.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/mqtt/debug_info.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
* Add fixture to synchronze with debouncer in MQTT tests
* Migrate more tests to use the debouncer
* Migrate more tests
* Migrate util tests
* Improve mqtt on_callback test using new fixture
* Improve test_subscribe_error
* Migrate other tests
* Import EnsureJobAfterCooldown from `util.py` but patch `client.py`