1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00

Fix REPORT_CONFIG type hint in zha (#73762)

Fix REPORT_CONFIG type hint
This commit is contained in:
epenet 2022-06-21 00:32:32 +02:00 committed by GitHub
parent 55eca2e2b4
commit 4bc1314499
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 17 deletions

View File

@ -109,7 +109,7 @@ class ChannelStatus(Enum):
class ZigbeeChannel(LogMixin):
"""Base channel for a Zigbee cluster."""
REPORT_CONFIG: tuple[AttrReportConfig] = ()
REPORT_CONFIG: tuple[AttrReportConfig, ...] = ()
BIND: bool = True
# Dict of attributes to read on channel initialization.

View File

@ -2997,9 +2997,6 @@ ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.base]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.closures]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.general]
ignore_errors = true
@ -3009,15 +3006,6 @@ ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.hvac]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.lighting]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.manufacturerspecific]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.measurement]
ignore_errors = true
[mypy-homeassistant.components.zha.core.channels.security]
ignore_errors = true

View File

@ -148,13 +148,9 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.zha.button",
"homeassistant.components.zha.climate",
"homeassistant.components.zha.core.channels.base",
"homeassistant.components.zha.core.channels.closures",
"homeassistant.components.zha.core.channels.general",
"homeassistant.components.zha.core.channels.homeautomation",
"homeassistant.components.zha.core.channels.hvac",
"homeassistant.components.zha.core.channels.lighting",
"homeassistant.components.zha.core.channels.manufacturerspecific",
"homeassistant.components.zha.core.channels.measurement",
"homeassistant.components.zha.core.channels.security",
"homeassistant.components.zha.core.channels.smartenergy",
"homeassistant.components.zha.core.device",