Add slots to dataclasses in default_config (#91410)

* add dataclass slots to default config items

* remove slots from sun mixing
This commit is contained in:
rlippmann
2023-04-14 14:22:39 -04:00
committed by GitHub
parent f65e06dc26
commit f5911bcad6
23 changed files with 32 additions and 32 deletions

View File

@@ -77,7 +77,7 @@ async def get_integration_loggers(hass: HomeAssistant, domain: str) -> set[str]:
return loggers
@dataclass
@dataclass(slots=True)
class LoggerSetting:
"""Settings for a single module or integration."""
@@ -86,7 +86,7 @@ class LoggerSetting:
type: str
@dataclass
@dataclass(slots=True)
class LoggerDomainConfig:
"""Logger domain config."""