Enable ruff RUF005 and fix occurrences (#113589)
This commit is contained in:
parent
2a5c85a020
commit
ccd2e989c3
58 changed files with 150 additions and 128 deletions
|
@ -1276,11 +1276,9 @@ BAD_AUTOMATIONS = [
|
|||
),
|
||||
]
|
||||
|
||||
BAD_TRIGGERS = BAD_CONDITIONS = BAD_AUTOMATIONS + [
|
||||
(
|
||||
{"domain": "light"},
|
||||
"required key not provided @ data{path}['device_id']",
|
||||
)
|
||||
BAD_TRIGGERS = BAD_CONDITIONS = [
|
||||
*BAD_AUTOMATIONS,
|
||||
({"domain": "light"}, "required key not provided @ data{path}['device_id']"),
|
||||
]
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue