diff --git a/homeassistant/components/atag/config_flow.py b/homeassistant/components/atag/config_flow.py index ff04159bbbc..865159aa658 100644 --- a/homeassistant/components/atag/config_flow.py +++ b/homeassistant/components/atag/config_flow.py @@ -4,7 +4,6 @@ import voluptuous as vol from homeassistant import config_entries from homeassistant.const import CONF_EMAIL, CONF_HOST, CONF_PORT -from homeassistant.core import callback from homeassistant.helpers.aiohttp_client import async_get_clientsession from . import DOMAIN # pylint: disable=unused-import @@ -43,7 +42,6 @@ class AtagConfigFlow(config_entries.ConfigFlow, domain=DOMAIN): return self.async_create_entry(title=atag.id, data=user_input) - @callback async def _show_form(self, errors=None): """Show the form to the user.""" return self.async_show_form( diff --git a/homeassistant/components/cloud/google_config.py b/homeassistant/components/cloud/google_config.py index 882124af45c..4b5891359b6 100644 --- a/homeassistant/components/cloud/google_config.py +++ b/homeassistant/components/cloud/google_config.py @@ -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() diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 17fd31e81c5..a43169c3afb 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -1286,7 +1286,6 @@ class MqttDiscoveryUpdate(Entity): else: await self.async_remove() - @callback async def discovery_callback(payload): """Handle discovery update.""" _LOGGER.info( diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 95d43e9eba5..1e6dbc3e386 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -159,7 +159,6 @@ async def async_setup_entry(hass, entry, async_add_entities): device_registry = await hass.helpers.device_registry.async_get_registry() - @callback async def add_public_entities(update=True): """Retrieve Netatmo public weather entities.""" entities = { diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 6f06b381844..fe305f3c25f 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -140,7 +140,6 @@ class Sensor(ZhaEntity): """Restore previous state.""" self._state = last_state.state - @callback async def async_state_attr_provider(self): """Initialize device state attributes.""" return {}