mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Set quality scale to silver for SMLIGHT integration (#142448)
* Add quality scale for SMLIGHT * Review and update all rules * Add missing data_description strings as detected by CI * update for a few merged docs PR's * Parallel updates done https://github.com/home-assistant/core/pull/142455 * Set quality scale to silver * Update homeassistant/components/smlight/quality_scale.yaml * Update homeassistant/components/smlight/quality_scale.yaml --------- Co-authored-by: Josef Zweck <josef@zweck.dev>
This commit is contained in:
parent
06a2de4d1c
commit
762c752918
@ -11,6 +11,7 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/smlight",
|
"documentation": "https://www.home-assistant.io/integrations/smlight",
|
||||||
"integration_type": "device",
|
"integration_type": "device",
|
||||||
"iot_class": "local_push",
|
"iot_class": "local_push",
|
||||||
|
"quality_scale": "silver",
|
||||||
"requirements": ["pysmlight==0.2.4"],
|
"requirements": ["pysmlight==0.2.4"],
|
||||||
"zeroconf": [
|
"zeroconf": [
|
||||||
{
|
{
|
||||||
|
85
homeassistant/components/smlight/quality_scale.yaml
Normal file
85
homeassistant/components/smlight/quality_scale.yaml
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
rules:
|
||||||
|
# Bronze
|
||||||
|
action-setup:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration does not provide additional actions.
|
||||||
|
appropriate-polling: done
|
||||||
|
brands: done
|
||||||
|
common-modules: done
|
||||||
|
config-flow-test-coverage: done
|
||||||
|
config-flow: done
|
||||||
|
dependency-transparency: done
|
||||||
|
docs-actions:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration does not provide additional actions.
|
||||||
|
docs-high-level-description: done
|
||||||
|
docs-installation-instructions: done
|
||||||
|
docs-removal-instructions: done
|
||||||
|
entity-event-setup:
|
||||||
|
status: done
|
||||||
|
comment: |
|
||||||
|
Entities subscribe to SSE events from pysmlight library.
|
||||||
|
entity-unique-id: done
|
||||||
|
has-entity-name: done
|
||||||
|
runtime-data: done
|
||||||
|
test-before-configure: done
|
||||||
|
test-before-setup:
|
||||||
|
status: done
|
||||||
|
comment: Handled implicitly within coordinator
|
||||||
|
unique-config-entry: done
|
||||||
|
|
||||||
|
# Silver
|
||||||
|
action-exceptions:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration does not provide actions.
|
||||||
|
config-entry-unloading: done
|
||||||
|
docs-configuration-parameters:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration does not provide an option flow.
|
||||||
|
docs-installation-parameters: done
|
||||||
|
entity-unavailable: done
|
||||||
|
integration-owner: done
|
||||||
|
log-when-unavailable:
|
||||||
|
status: done
|
||||||
|
comment: Handled by coordinator
|
||||||
|
parallel-updates: done
|
||||||
|
reauthentication-flow: done
|
||||||
|
test-coverage: done
|
||||||
|
|
||||||
|
# Gold
|
||||||
|
devices: done
|
||||||
|
diagnostics: done
|
||||||
|
discovery-update-info: done
|
||||||
|
discovery: done
|
||||||
|
docs-data-update: done
|
||||||
|
docs-examples: todo
|
||||||
|
docs-known-limitations: todo
|
||||||
|
docs-supported-devices: done
|
||||||
|
docs-supported-functions: done
|
||||||
|
docs-troubleshooting: todo
|
||||||
|
docs-use-cases: todo
|
||||||
|
dynamic-devices:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
Device type integration.
|
||||||
|
entity-category: done
|
||||||
|
entity-device-class: done
|
||||||
|
entity-disabled-by-default: done
|
||||||
|
entity-translations: done
|
||||||
|
exception-translations: todo
|
||||||
|
icon-translations: done
|
||||||
|
reconfiguration-flow: todo
|
||||||
|
repair-issues: done
|
||||||
|
stale-devices:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
Device type integration.
|
||||||
|
|
||||||
|
# Platinum
|
||||||
|
async-dependency: done
|
||||||
|
inject-websession: done
|
||||||
|
strict-typing: done
|
@ -15,6 +15,10 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"username": "[%key:common::config_flow::data::username%]",
|
"username": "[%key:common::config_flow::data::username%]",
|
||||||
"password": "[%key:common::config_flow::data::password%]"
|
"password": "[%key:common::config_flow::data::password%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"username": "Username for the device's web login.",
|
||||||
|
"password": "Password for the device's web login."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"reauth_confirm": {
|
"reauth_confirm": {
|
||||||
@ -23,6 +27,10 @@
|
|||||||
"data": {
|
"data": {
|
||||||
"username": "[%key:common::config_flow::data::username%]",
|
"username": "[%key:common::config_flow::data::username%]",
|
||||||
"password": "[%key:common::config_flow::data::password%]"
|
"password": "[%key:common::config_flow::data::password%]"
|
||||||
|
},
|
||||||
|
"data_description": {
|
||||||
|
"username": "[%key:component::smlight::config::step::auth::data_description::username%]",
|
||||||
|
"password": "[%key:component::smlight::config::step::auth::data_description::password%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"confirm_discovery": {
|
"confirm_discovery": {
|
||||||
|
@ -920,7 +920,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [
|
|||||||
"smarttub",
|
"smarttub",
|
||||||
"smarty",
|
"smarty",
|
||||||
"smhi",
|
"smhi",
|
||||||
"smlight",
|
|
||||||
"sms",
|
"sms",
|
||||||
"smtp",
|
"smtp",
|
||||||
"snapcast",
|
"snapcast",
|
||||||
@ -1993,7 +1992,6 @@ INTEGRATIONS_WITHOUT_SCALE = [
|
|||||||
"smarttub",
|
"smarttub",
|
||||||
"smarty",
|
"smarty",
|
||||||
"smhi",
|
"smhi",
|
||||||
"smlight",
|
|
||||||
"sms",
|
"sms",
|
||||||
"smtp",
|
"smtp",
|
||||||
"snapcast",
|
"snapcast",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user