core/homeassistant/helpers
David F. Mulcahey 8b0a0ee521
Don't write storage to disk while stopping (#33456)
* Don't write storage to disk while stopping

* rework change

* lint

* remove delay save and schedule final write at stop

* update tests

* fix test component using private methods

* cleanup

* always listen

* use stop in restore state again

* whitelist JSON exceptions for later

* review comment

* make zwave tests use mock storage
2020-04-02 10:25:28 -07: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 Type hint improvements (#32905) 2020-03-18 19:27:25 +02: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 Refactor API documentation (#33217) 2020-03-25 13:21:04 -07: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 Type hint improvements (#32905) 2020-03-18 19:27:25 +02:00
dispatcher.py Fix dispatcher logging (#33299) 2020-03-26 20:44:44 -07:00
entity.py Remove state when entity is removed from registry (#32184) 2020-03-26 16:33:50 -07:00
entity_component.py Replace asyncio.wait with asyncio.gather since wait ignores exceptions (#33380) 2020-04-01 07:09:13 -07:00
entity_platform.py Replace asyncio.wait with asyncio.gather since wait ignores exceptions (#33380) 2020-04-01 07:09:13 -07:00
entity_registry.py Add Context support for async_entity removal (#33209) 2020-03-24 09:59:17 -07: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 Fix state_automation_listener when new state is None (#32985) 2020-03-23 16:05:21 -07: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 Don't write storage to disk while stopping (#33456) 2020-04-02 10:25:28 -07:00
script.py Fix script logging with name (#33120) 2020-03-22 13:29:50 +01: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 Don't write storage to disk while stopping (#33456) 2020-04-02 10:25:28 -07: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 Type hint improvements (#32905) 2020-03-18 19:27:25 +02:00
update_coordinator.py Fix scheduled update time-drift in data update coordinator (#32974) 2020-03-21 16:57:12 -07:00