Cleanup async handling (#6388)

* Cleanups unneeded blocks

* Cleanup bootstrap

* dedicated update_ha_state

* Fix imap_email_content

* fx tests

* Fix lint & spell
This commit is contained in:
Pascal Vizeli authored and Paulus Schoutsen committed 2017-03-04 15:10:36 -08:00
1 parent 3044aecbe9
commit 8232f1ef65
30 files changed
+124 -108

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ def _apply_service(service, service_func, *service_func_args):
for device in _devices:
service_func(device, *service_func_args)
device.update_ha_state(True)
device.schedule_update_ha_state(True)
def _sync_service(service):