mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Remove home_plus_control from mypy ignore list (#74448)
This commit is contained in:
parent
332cf3cd2d
commit
5e63a44e71
@ -83,7 +83,8 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
|
||||
api = hass_entry_data[API] = HomePlusControlAsyncApi(hass, entry, implementation)
|
||||
|
||||
# Set of entity unique identifiers of this integration
|
||||
uids = hass_entry_data[ENTITY_UIDS] = set()
|
||||
uids: set[str] = set()
|
||||
hass_entry_data[ENTITY_UIDS] = uids
|
||||
|
||||
# Integration dispatchers
|
||||
hass_entry_data[DISPATCHER_REMOVERS] = []
|
||||
|
@ -5,6 +5,7 @@ from homeassistant import config_entries, core
|
||||
from homeassistant.helpers import aiohttp_client, config_entry_oauth2_flow
|
||||
|
||||
from .const import DEFAULT_UPDATE_INTERVALS
|
||||
from .helpers import HomePlusControlOAuth2Implementation
|
||||
|
||||
|
||||
class HomePlusControlAsyncApi(HomePlusControlAPI):
|
||||
@ -40,6 +41,8 @@ class HomePlusControlAsyncApi(HomePlusControlAPI):
|
||||
hass, config_entry, implementation
|
||||
)
|
||||
|
||||
assert isinstance(implementation, HomePlusControlOAuth2Implementation)
|
||||
|
||||
# Create the API authenticated client - external library
|
||||
super().__init__(
|
||||
subscription_key=implementation.subscription_key,
|
||||
|
6
mypy.ini
6
mypy.ini
@ -2695,12 +2695,6 @@ ignore_errors = true
|
||||
[mypy-homeassistant.components.hassio.websocket_api]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.home_plus_control]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.home_plus_control.api]
|
||||
ignore_errors = true
|
||||
|
||||
[mypy-homeassistant.components.icloud]
|
||||
ignore_errors = true
|
||||
|
||||
|
@ -40,8 +40,6 @@ IGNORED_MODULES: Final[list[str]] = [
|
||||
"homeassistant.components.hassio.sensor",
|
||||
"homeassistant.components.hassio.system_health",
|
||||
"homeassistant.components.hassio.websocket_api",
|
||||
"homeassistant.components.home_plus_control",
|
||||
"homeassistant.components.home_plus_control.api",
|
||||
"homeassistant.components.icloud",
|
||||
"homeassistant.components.icloud.account",
|
||||
"homeassistant.components.icloud.device_tracker",
|
||||
|
Loading…
x
Reference in New Issue
Block a user