core/tests/components/deconz
J. Nick Koston 74c23c3e96
Add support for reload_on_update to _abort_if_unique_id_configured (#38638)
* Add support for reload_on_update to _abort_if_unique_id_configured

async_update_entry now avoids firing update listeners and writing
the storage if there are no actual changes.

* Actually add the tests

* collapse branch

* Update homeassistant/config_entries.py

Co-authored-by: Franck Nijhof <git@frenck.dev>

* handle entries that lack the ability to reload

* reduce

* adjust konnected tests

* update axis tests

* fix blocking

* more mocking

* config flow tests outside of test_config_flow

* reduce

* volumio

* Update homeassistant/config_entries.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* set reload_on_update=False for integrations that implement self._abort_if_unique_id_configured(updates= and a reload listen

* get rid of copy

* revert test change

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-08-08 13:23:56 -05:00
..
__init__.py deCONZ migrate setup fully to config entry (#13679) 2018-04-18 10:27:44 -04:00
test_binary_sensor.py Change deCONZ sensor device classes (#36352) 2020-06-02 16:17:21 +02:00
test_climate.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_config_flow.py Add support for reload_on_update to _abort_if_unique_id_configured (#38638) 2020-08-08 13:23:56 -05:00
test_cover.py deCONZ - Add support for "Window covering controller" (#35294) 2020-05-17 09:57:24 +02:00
test_deconz_event.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_device_trigger.py deCONZ - Fix device automations (#30577) 2020-01-08 10:06:33 +01:00
test_gateway.py Add support for reload_on_update to _abort_if_unique_id_configured (#38638) 2020-08-08 13:23:56 -05:00
test_init.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_light.py deCONZ - Don't send off signals to light if already off (#36357) 2020-06-02 00:20:52 +02:00
test_scene.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_sensor.py Change deCONZ sensor device classes (#36352) 2020-06-02 16:17:21 +02:00
test_services.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_switch.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00