mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 19:55:10 +02:00
Adjust pylint plugin for climate HVACAction (#70760)
This commit is contained in:
@@ -68,6 +68,10 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
|
||||
),
|
||||
],
|
||||
"homeassistant.components.climate.const": [
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by HVACAction enum",
|
||||
constant=re.compile(r"^CURRENT_HVAC_(\w*)$"),
|
||||
),
|
||||
ObsoleteImportMatch(
|
||||
reason="replaced by ClimateEntityFeature enum",
|
||||
constant=re.compile(r"^SUPPORT_(\w*)$"),
|
||||
|
Reference in New Issue
Block a user