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 Type hint improvements (#31876) 2020-02-16 13:47:55 +01:00
aiohttp_client.py Revert "Use orjson to parse json faster (#32153)" (#32185) 2020-02-25 21:07:16 +01:00
area_registry.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
check_config.py Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
collection.py Allow managing Lovelace storage dashboards (#32241) 2020-02-28 12:43:17 -08:00
condition.py Find related items scripts/automations (#31293) 2020-01-29 16:19:13 -08:00
config_entry_flow.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
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 Use new custom_serializer (#31871) 2020-02-15 15:36:57 -08:00
debounce.py Improve debounce cooldown (#32161) 2020-02-26 11:27:37 -08:00
deprecation.py Adds guards for missing information in call stack frames (#27217) 2019-10-05 11:59:33 +02:00
device_registry.py Allow sw_version update of a device registry entry. (#32630) 2020-03-11 09:31:02 -07:00
discovery.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
dispatcher.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
entity.py Add MQTT WS command to remove device (#31989) 2020-02-24 20:46:02 -08:00
entity_component.py Annotate more async functions correctly (#31802) 2020-02-14 10:00:22 -08:00
entity_platform.py Entity Registry to store and restore name/icon (#31714) 2020-02-11 09:40:50 -08:00
entity_registry.py Coronavirus updates (#32417) 2020-03-02 17:59:32 -08:00
entity_values.py Migrate legacy typehints in core to PEP-526 (#26403) 2019-09-03 20:36:04 -07:00
entityfilter.py Black 2019-07-31 12:25:30 -07:00
event.py Update Hue data fetching (#31338) 2020-01-31 14:47:40 -08:00
icon.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
integration_platform.py Add integration platform helper (#29914) 2019-12-13 15:38:41 +01:00
intent.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
json.py Black 2019-07-31 12:25:30 -07:00
location.py Type 2019-07-31 13:08:31 -07:00
logging.py Upgrade mypy to 0.770, tighten config a bit (#32715) 2020-03-12 11:52:20 +01:00
network.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
restore_state.py Helpers typing improvements (#31865) 2020-02-15 13:03:53 -08:00
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 Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
state.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
storage.py Allow managing Lovelace storage dashboards (#32241) 2020-02-28 12:43:17 -08:00
sun.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
system_info.py Show kernel version on linux (#32276) 2020-02-27 13:59:30 -08:00
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 Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00
typing.py Sort imports according to PEP8 for 'homeassistant' folder (#29789) 2019-12-09 16:42:10 +01:00
update_coordinator.py Add update class method to DataUpdateCoordinator (#32724) 2020-03-13 00:27:19 +01:00