mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Change to rule slugs (#131043)
This commit is contained in:
parent
c56f377cd5
commit
514af896f3
@ -1,2 +1,2 @@
|
|||||||
rules:
|
rules:
|
||||||
IQS001: done
|
config-flow: done
|
||||||
|
@ -10,11 +10,66 @@ from homeassistant.util.yaml import load_yaml_dict
|
|||||||
|
|
||||||
from .model import Config, Integration
|
from .model import Config, Integration
|
||||||
|
|
||||||
|
RULES = [
|
||||||
|
"action-exceptions",
|
||||||
|
"action-setup",
|
||||||
|
"appropriate-polling",
|
||||||
|
"async-dependency",
|
||||||
|
"brands",
|
||||||
|
"common-modules",
|
||||||
|
"config-entry-unloading",
|
||||||
|
"config-flow",
|
||||||
|
"config-flow-test-coverage",
|
||||||
|
"dependency-transparency",
|
||||||
|
"devices",
|
||||||
|
"diagnostics",
|
||||||
|
"discovery",
|
||||||
|
"discovery-update-info",
|
||||||
|
"docs-actions",
|
||||||
|
"docs-configuration-parameters",
|
||||||
|
"docs-data-update",
|
||||||
|
"docs-examples",
|
||||||
|
"docs-high-level-description",
|
||||||
|
"docs-installation-instructions",
|
||||||
|
"docs-installation-parameters",
|
||||||
|
"docs-known-limitations",
|
||||||
|
"docs-removal-instructions",
|
||||||
|
"docs-supported-devices",
|
||||||
|
"docs-supported-functions",
|
||||||
|
"docs-troubleshooting",
|
||||||
|
"docs-use-cases",
|
||||||
|
"dynamic-devices",
|
||||||
|
"entity-category",
|
||||||
|
"entity-device-class",
|
||||||
|
"entity-disabled-by-default",
|
||||||
|
"entity-event-setup",
|
||||||
|
"entity-translations",
|
||||||
|
"entity-unavailable",
|
||||||
|
"entity-unique-id",
|
||||||
|
"exception-translations",
|
||||||
|
"has-entity-name",
|
||||||
|
"icon-translations",
|
||||||
|
"inject-websession",
|
||||||
|
"integration-owner",
|
||||||
|
"log-when-unavailable",
|
||||||
|
"parallel-updates",
|
||||||
|
"reauthentication-flow",
|
||||||
|
"reconfiguration-flow",
|
||||||
|
"repair-issues",
|
||||||
|
"runtime-data",
|
||||||
|
"stale-devices",
|
||||||
|
"strict-typing",
|
||||||
|
"test-before-configure",
|
||||||
|
"test-before-setup",
|
||||||
|
"test-coverage",
|
||||||
|
"unique-config-entry",
|
||||||
|
]
|
||||||
|
|
||||||
SCHEMA = vol.Schema(
|
SCHEMA = vol.Schema(
|
||||||
{
|
{
|
||||||
vol.Required("rules"): vol.Schema(
|
vol.Required("rules"): vol.Schema(
|
||||||
{
|
{
|
||||||
str: vol.Any(
|
vol.Optional(rule): vol.Any(
|
||||||
vol.In(["todo", "done"]),
|
vol.In(["todo", "done"]),
|
||||||
vol.Schema(
|
vol.Schema(
|
||||||
{
|
{
|
||||||
@ -23,6 +78,7 @@ SCHEMA = vol.Schema(
|
|||||||
}
|
}
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
for rule in RULES
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user