Skip to content

Commit 6f6e9b8

Browse files
authored
Add quality scale for WLED (home-assistant#155482)
Co-authored-by: mik-laj <[email protected]>
1 parent e0c687e commit 6f6e9b8

File tree

2 files changed

+92
-1
lines changed

2 files changed

+92
-1
lines changed
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
rules:
2+
# Bronze
3+
action-setup:
4+
status: exempt
5+
comment: This integration does not have custom service actions.
6+
appropriate-polling: done
7+
brands: done
8+
common-modules: done
9+
config-flow-test-coverage:
10+
status: todo
11+
comment: |
12+
test_connection_error and test_unsupported_version_error should end in CREATE_ENTRY
13+
config-flow: done
14+
dependency-transparency: done
15+
docs-actions:
16+
status: exempt
17+
comment: This integration does not have custom service actions.
18+
docs-high-level-description: done
19+
docs-installation-instructions: done
20+
docs-removal-instructions: done
21+
entity-event-setup: done
22+
entity-unique-id: done
23+
has-entity-name: done
24+
runtime-data: done
25+
test-before-configure: done
26+
test-before-setup: done
27+
unique-config-entry: done
28+
29+
# Silver
30+
action-exceptions: todo
31+
config-entry-unloading: done
32+
docs-configuration-parameters: done
33+
docs-installation-parameters: todo
34+
entity-unavailable:
35+
status: todo
36+
comment: |
37+
The WLEDSegmentLight.available property can just be an if .. in .. check
38+
integration-owner: done
39+
log-when-unavailable: done
40+
parallel-updates: done
41+
reauthentication-flow:
42+
status: exempt
43+
comment: |
44+
This integration does not require authentication.
45+
test-coverage:
46+
status: todo
47+
comment: |
48+
The test_setting_unique_id test is redundant.
49+
The test_websocket_already_connected test can use the freezer.
50+
The snapshot tests should be used more widely.
51+
We should use pytest.mark.freeze_time instead of mock.
52+
# Gold
53+
devices: done
54+
diagnostics: done
55+
discovery-update-info: done
56+
discovery: done
57+
docs-data-update: todo
58+
docs-examples: done
59+
docs-known-limitations:
60+
status: todo
61+
comment: |
62+
Analog RGBCCT Strip are poor supported by HA.
63+
See: https://github.com/home-assistant/core/issues/123614
64+
docs-supported-devices: todo
65+
docs-supported-functions: done
66+
docs-troubleshooting: todo
67+
docs-use-cases: todo
68+
dynamic-devices:
69+
status: exempt
70+
comment: |
71+
This integration has a fixed single device.
72+
entity-category: done
73+
entity-device-class:
74+
status: todo
75+
comment: Led count could receive unit of measurement
76+
entity-disabled-by-default: done
77+
entity-translations: done
78+
exception-translations: done
79+
icon-translations: done
80+
reconfiguration-flow: done
81+
repair-issues:
82+
status: exempt
83+
comment: This integration does not have any known issues that require repair.
84+
stale-devices:
85+
status: exempt
86+
comment: |
87+
This integration has a fixed single device.
88+
89+
# Platinum
90+
async-dependency: done
91+
inject-websession: done
92+
strict-typing: done

script/hassfest/quality_scale.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,6 @@ class Rule:
10601060
"wirelesstag",
10611061
"withings",
10621062
"wiz",
1063-
"wled",
10641063
"wmspro",
10651064
"wolflink",
10661065
"workday",

0 commit comments

Comments
 (0)