mirror of
https://github.com/home-assistant/core.git
synced 2026-08-03 20:24:55 +02:00
Raise luci quality scale to silver (#176240)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
"integration_type": "hub",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["openwrt_luci_rpc"],
|
||||
"quality_scale": "legacy",
|
||||
"quality_scale": "silver",
|
||||
"requirements": ["openwrt-luci-rpc==1.1.17"]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,100 @@
|
||||
rules:
|
||||
# Bronze
|
||||
action-setup:
|
||||
status: exempt
|
||||
comment: This integration does not provide any 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 any actions.
|
||||
docs-conditions:
|
||||
status: exempt
|
||||
comment: This integration does not provide any conditions.
|
||||
docs-high-level-description: done
|
||||
docs-installation-instructions: done
|
||||
docs-removal-instructions: done
|
||||
docs-triggers:
|
||||
status: exempt
|
||||
comment: This integration does not provide any triggers.
|
||||
entity-event-setup:
|
||||
status: exempt
|
||||
comment: Entities do not subscribe to events; they are updated via the coordinator.
|
||||
entity-unique-id: done
|
||||
has-entity-name: done
|
||||
runtime-data: done
|
||||
test-before-configure: done
|
||||
test-before-setup: done
|
||||
unique-config-entry: done
|
||||
|
||||
# Silver
|
||||
action-exceptions:
|
||||
status: exempt
|
||||
comment: This integration does not provide any actions.
|
||||
config-entry-unloading: done
|
||||
docs-configuration-parameters:
|
||||
status: exempt
|
||||
comment: This integration does not have an options flow.
|
||||
docs-installation-parameters: done
|
||||
entity-unavailable: done
|
||||
integration-owner: done
|
||||
log-when-unavailable: done
|
||||
parallel-updates: done
|
||||
reauthentication-flow: done
|
||||
test-coverage: done
|
||||
|
||||
# Gold
|
||||
devices:
|
||||
status: todo
|
||||
comment: Tracked clients are represented as scanner entities without a device registry entry.
|
||||
diagnostics: todo
|
||||
discovery:
|
||||
status: todo
|
||||
comment: The router could be discovered via DHCP.
|
||||
discovery-update-info: todo
|
||||
docs-data-update: todo
|
||||
docs-examples: todo
|
||||
docs-known-limitations: todo
|
||||
docs-supported-devices: todo
|
||||
docs-supported-functions: todo
|
||||
docs-troubleshooting: todo
|
||||
docs-use-cases: todo
|
||||
dynamic-devices:
|
||||
status: todo
|
||||
comment: Clients connecting after setup are not added until Home Assistant restarts.
|
||||
entity-category:
|
||||
status: exempt
|
||||
comment: This integration only creates device tracker entities.
|
||||
entity-device-class:
|
||||
status: exempt
|
||||
comment: This integration only creates device tracker entities.
|
||||
entity-disabled-by-default:
|
||||
status: exempt
|
||||
comment: This integration only creates device tracker entities.
|
||||
entity-translations:
|
||||
status: exempt
|
||||
comment: Device tracker entities are named after the tracked client's hostname.
|
||||
exception-translations: todo
|
||||
icon-translations:
|
||||
status: exempt
|
||||
comment: Device tracker entities use the icon of their source type.
|
||||
reconfiguration-flow: todo
|
||||
repair-issues:
|
||||
status: exempt
|
||||
comment: This integration has no repairs beyond the deprecated YAML import issue.
|
||||
stale-devices:
|
||||
status: todo
|
||||
comment: Clients that stop connecting are not removed automatically.
|
||||
|
||||
# Platinum
|
||||
async-dependency:
|
||||
status: todo
|
||||
comment: The openwrt-luci-rpc library is synchronous and is run in the executor.
|
||||
inject-websession:
|
||||
status: exempt
|
||||
comment: The openwrt-luci-rpc library uses requests and does not accept an injected websession.
|
||||
strict-typing: todo
|
||||
@@ -15,6 +15,10 @@
|
||||
"data": {
|
||||
"password": "[%key:common::config_flow::data::password%]",
|
||||
"username": "[%key:common::config_flow::data::username%]"
|
||||
},
|
||||
"data_description": {
|
||||
"password": "The password to log in to the OpenWrt router.",
|
||||
"username": "The username to log in to the OpenWrt router."
|
||||
}
|
||||
},
|
||||
"user": {
|
||||
@@ -24,6 +28,13 @@
|
||||
"ssl": "[%key:common::config_flow::data::ssl%]",
|
||||
"username": "[%key:common::config_flow::data::username%]",
|
||||
"verify_ssl": "[%key:common::config_flow::data::verify_ssl%]"
|
||||
},
|
||||
"data_description": {
|
||||
"host": "The hostname or IP address of your OpenWrt router.",
|
||||
"password": "The password to log in to the OpenWrt router.",
|
||||
"ssl": "Whether to connect to the router using SSL.",
|
||||
"username": "The username to log in to the OpenWrt router.",
|
||||
"verify_ssl": "Whether to verify the router's SSL certificate."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -546,7 +546,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [
|
||||
"london_underground",
|
||||
"lookin",
|
||||
"loqed",
|
||||
"luci",
|
||||
"luftdaten",
|
||||
"lupusec",
|
||||
"lutron",
|
||||
@@ -1495,7 +1494,6 @@ INTEGRATIONS_WITHOUT_SCALE = [
|
||||
"london_underground",
|
||||
"lookin",
|
||||
"loqed",
|
||||
"luci",
|
||||
"luftdaten",
|
||||
"lupusec",
|
||||
"lutron",
|
||||
|
||||
Reference in New Issue
Block a user