mirror of
https://github.com/home-assistant/core.git
synced 2025-04-26 18:27:51 +00:00
Allow integrations with digits in hassfest QS runtime_data (#136479)
This commit is contained in:
parent
ea3ccc02d7
commit
4ce3fa8813
@ -10,7 +10,7 @@ from homeassistant.const import Platform
|
|||||||
from script.hassfest import ast_parse_module
|
from script.hassfest import ast_parse_module
|
||||||
from script.hassfest.model import Config, Integration
|
from script.hassfest.model import Config, Integration
|
||||||
|
|
||||||
_ANNOTATION_MATCH = re.compile(r"^[A-Za-z]+ConfigEntry$")
|
_ANNOTATION_MATCH = re.compile(r"^[A-Za-z][A-Za-z0-9]+ConfigEntry$")
|
||||||
_FUNCTIONS: dict[str, dict[str, int]] = {
|
_FUNCTIONS: dict[str, dict[str, int]] = {
|
||||||
"__init__": { # based on ComponentProtocol
|
"__init__": { # based on ComponentProtocol
|
||||||
"async_migrate_entry": 2,
|
"async_migrate_entry": 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user