core/homeassistant/helpers
Franck Nijhof ff92a8b260
Add update class method to DataUpdateCoordinator (#32724)
* Add update class method to DataUpdateCoordinator

* Update homeassistant/helpers/update_coordinator.py

Co-Authored-By: Paulus Schoutsen <balloob@gmail.com>

* Move update_method param

* Rename async_update_data to _async_update_data

* Raise NotImplementedError

* Re-raise NotImplementedError

* Remove caplog, not needed anymore

* Don't set last_update_success on NotImplementedError

* Fix test

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-03-13 00:27:19 +01:00
..
__init__.py
aiohttp_client.py
area_registry.py
check_config.py
collection.py
condition.py
config_entry_flow.py
config_entry_oauth2_flow.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
config_validation.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
data_entry_flow.py
debounce.py
deprecation.py
device_registry.py Allow sw_version update of a device registry entry. (#32630) 2020-03-11 09:31:02 -07:00
discovery.py
dispatcher.py
entity.py
entity_component.py
entity_platform.py
entity_registry.py
entity_values.py
entityfilter.py
event.py
icon.py
integration_platform.py
intent.py
json.py
location.py
logging.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
network.py
restore_state.py
script.py Add support for simultaneous runs of Script helper - Part 2 (#32442) 2020-03-11 16:34:50 -07:00
service.py Add support for simultaneous runs of Script helper - Part 2 (#32442) 2020-03-11 16:34:50 -07:00
signal.py
state.py
storage.py
sun.py
system_info.py
temperature.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
template.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
translation.py
typing.py
update_coordinator.py Add update class method to DataUpdateCoordinator (#32724) 2020-03-13 00:27:19 +01:00