core/tests/components/axis
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 Axis config flow (#18543) 2019-03-24 16:16:50 +01:00
test_binary_sensor.py Axis - Add device class property to binary sensors (#36384) 2020-06-02 20:12:19 +02:00
test_camera.py Remove Axis option to enable/disable camera (#36420) 2020-06-04 14:25:50 +02: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_device.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 Axis - Code improvements (#35592) 2020-05-14 10:49:27 +02:00
test_light.py Light control support to Axis devices (#36611) 2020-06-18 23:27:08 +02:00
test_switch.py Improve Axis integration (#36205) 2020-05-31 20:00:15 +02:00