Fix async functions accidentally marked as callbacks (#41607)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-10-10 16:54:36 +02:00
1 parent 73f52c829a
commit da2f9db62e
5 files changed
+1 -7

No files matched your search

@@ -11,7 +11,7 @@ from homeassistant.const import (
EVENT_HOMEASSISTANT_STARTED,
HTTP_OK,
)
from homeassistant.core import CoreState, callback, split_entity_id
from homeassistant.core import CoreState, split_entity_id
from homeassistant.helpers import entity_registry
from .const import (
@@ -201,7 +201,6 @@ class CloudGoogleConfig(AbstractConfig):
self._sync_on_started = True
@callback
async def sync_google(_):
"""Sync entities to Google."""
await self.async_sync_entities_all()