diff --git a/homeassistant/components/progettihwsw/__init__.py b/homeassistant/components/progettihwsw/__init__.py index 868f6c8766ef..32dbb5bd41d6 100644 --- a/homeassistant/components/progettihwsw/__init__.py +++ b/homeassistant/components/progettihwsw/__init__.py @@ -10,11 +10,11 @@ from homeassistant.core import HomeAssistant PLATFORMS = [Platform.BINARY_SENSOR, Platform.SWITCH] -type ProgettihwswConfigEntry = ConfigEntry[ProgettiHWSWAPI] +type ProgettiHWSWConfigEntry = ConfigEntry[ProgettiHWSWAPI] async def async_setup_entry( - hass: HomeAssistant, entry: ProgettihwswConfigEntry + hass: HomeAssistant, entry: ProgettiHWSWConfigEntry ) -> bool: """Set up ProgettiHWSW Automation from a config entry.""" api = ProgettiHWSWAPI(f"{entry.data['host']}:{entry.data['port']}") @@ -30,7 +30,7 @@ async def async_setup_entry( async def async_unload_entry( - hass: HomeAssistant, entry: ProgettihwswConfigEntry + hass: HomeAssistant, entry: ProgettiHWSWConfigEntry ) -> bool: """Unload a config entry.""" return await hass.config_entries.async_unload_platforms(entry, PLATFORMS) diff --git a/homeassistant/components/progettihwsw/binary_sensor.py b/homeassistant/components/progettihwsw/binary_sensor.py index 26d540531ad5..26643065994f 100644 --- a/homeassistant/components/progettihwsw/binary_sensor.py +++ b/homeassistant/components/progettihwsw/binary_sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.update_coordinator import ( DataUpdateCoordinator, ) -from . import ProgettihwswConfigEntry, setup_input +from . import ProgettiHWSWConfigEntry, setup_input from .const import DEFAULT_POLLING_INTERVAL_SEC _LOGGER = logging.getLogger(__name__) @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) async def async_setup_entry( hass: HomeAssistant, - config_entry: ProgettihwswConfigEntry, + config_entry: ProgettiHWSWConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback, ) -> None: """Set up the binary sensors from a config entry.""" diff --git a/homeassistant/components/progettihwsw/switch.py b/homeassistant/components/progettihwsw/switch.py index 6319e18b45f9..06a8f6d0d662 100644 --- a/homeassistant/components/progettihwsw/switch.py +++ b/homeassistant/components/progettihwsw/switch.py @@ -15,7 +15,7 @@ from homeassistant.helpers.update_coordinator import ( DataUpdateCoordinator, ) -from . import ProgettihwswConfigEntry, setup_switch +from . import ProgettiHWSWConfigEntry, setup_switch from .const import DEFAULT_POLLING_INTERVAL_SEC _LOGGER = logging.getLogger(__name__) @@ -23,7 +23,7 @@ _LOGGER = logging.getLogger(__name__) async def async_setup_entry( hass: HomeAssistant, - config_entry: ProgettihwswConfigEntry, + config_entry: ProgettiHWSWConfigEntry, async_add_entities: AddConfigEntryEntitiesCallback, ) -> None: """Set up the switches from a config entry."""