Adjust pylint plugin for climate HVACAction (#70760)
This commit is contained in:
parent
3d05a9d31f
commit
d3c25bf450
1 changed files with 4 additions and 0 deletions
|
@ -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*)$"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue