Fix REPORT_CONFIG type hint in zha (#73762)
Fix REPORT_CONFIG type hint
This commit is contained in:
parent
55eca2e2b4
commit
4bc1314499
3 changed files with 1 additions and 17 deletions
|
@ -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.
|
||||
|
|
12
mypy.ini
12
mypy.ini
|
@ -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
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue