mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Adjust pylint plugin for climate HVACAction (#70760)
This commit is contained in:
parent
3d05a9d31f
commit
d3c25bf450
@ -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…
x
Reference in New Issue
Block a user