mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 10:17:09 +00:00
Fix REPORT_CONFIG type hint in zha (#73762)
Fix REPORT_CONFIG type hint
This commit is contained in:
parent
55eca2e2b4
commit
4bc1314499
@ -109,7 +109,7 @@ class ChannelStatus(Enum):
|
|||||||
class ZigbeeChannel(LogMixin):
|
class ZigbeeChannel(LogMixin):
|
||||||
"""Base channel for a Zigbee cluster."""
|
"""Base channel for a Zigbee cluster."""
|
||||||
|
|
||||||
REPORT_CONFIG: tuple[AttrReportConfig] = ()
|
REPORT_CONFIG: tuple[AttrReportConfig, ...] = ()
|
||||||
BIND: bool = True
|
BIND: bool = True
|
||||||
|
|
||||||
# Dict of attributes to read on channel initialization.
|
# 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]
|
[mypy-homeassistant.components.zha.core.channels.base]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
[mypy-homeassistant.components.zha.core.channels.closures]
|
|
||||||
ignore_errors = true
|
|
||||||
|
|
||||||
[mypy-homeassistant.components.zha.core.channels.general]
|
[mypy-homeassistant.components.zha.core.channels.general]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
@ -3009,15 +3006,6 @@ ignore_errors = true
|
|||||||
[mypy-homeassistant.components.zha.core.channels.hvac]
|
[mypy-homeassistant.components.zha.core.channels.hvac]
|
||||||
ignore_errors = true
|
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]
|
[mypy-homeassistant.components.zha.core.channels.security]
|
||||||
ignore_errors = true
|
ignore_errors = true
|
||||||
|
|
||||||
|
@ -148,13 +148,9 @@ IGNORED_MODULES: Final[list[str]] = [
|
|||||||
"homeassistant.components.zha.button",
|
"homeassistant.components.zha.button",
|
||||||
"homeassistant.components.zha.climate",
|
"homeassistant.components.zha.climate",
|
||||||
"homeassistant.components.zha.core.channels.base",
|
"homeassistant.components.zha.core.channels.base",
|
||||||
"homeassistant.components.zha.core.channels.closures",
|
|
||||||
"homeassistant.components.zha.core.channels.general",
|
"homeassistant.components.zha.core.channels.general",
|
||||||
"homeassistant.components.zha.core.channels.homeautomation",
|
"homeassistant.components.zha.core.channels.homeautomation",
|
||||||
"homeassistant.components.zha.core.channels.hvac",
|
"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.security",
|
||||||
"homeassistant.components.zha.core.channels.smartenergy",
|
"homeassistant.components.zha.core.channels.smartenergy",
|
||||||
"homeassistant.components.zha.core.device",
|
"homeassistant.components.zha.core.device",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user