Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions homeassistant/components/tesla_fleet/quality_scale.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
rules:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN) right?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Put the vehicle alseep typo

# Bronze
action-setup:
status: exempt
comment: Integration does not register custom service actions in async_setup.
appropriate-polling: done
brands: done
common-modules: done
config-flow-test-coverage:
status: todo
comment: Review feedback requested stronger config flow test coverage for domain registration errors and removal of unnecessary translation mocking where possible.
config-flow:
status: todo
comment: Review feedback questioned whether the custom OAuth flow implementation can be simplified, including whether `CONFIG_SCHEMA` and the custom `OAuth2FlowHandler` are both needed.
dependency-transparency: done
docs-actions:
status: exempt
comment: Integration does not provide custom service actions beyond standard entity services.
docs-high-level-description: done
docs-installation-instructions: done
docs-removal-instructions: done
entity-event-setup: done
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: done
config-entry-unloading: done
docs-configuration-parameters: done
docs-installation-parameters: done
entity-unavailable: done
integration-owner: done
log-when-unavailable:
status: todo
comment: Coordinator raises UpdateFailed but does not implement the full log-once pattern (log when becoming unavailable, log when recovering).
parallel-updates: done
reauthentication-flow: done
Comment on lines +1 to +40
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using the shorthand format (e.g., rule-name: done) for rules with status "done" and no comment, to match the style used in other integrations like acaia. The expanded format with status: should be reserved for entries that have comments or non-"done" statuses. This would improve consistency across the codebase.

Copilot uses AI. Check for mistakes.
test-coverage:
status: todo
comment: Review feedback requested test cleanup follow-ups, including patching API objects where they are used, preferring direct asserts over the `test_climate_offline` snapshot where appropriate, removing an unnecessary `async_setup_component(...)`, and avoiding direct `entry.runtime_data` assertions in unload tests.
# Gold
devices: done
diagnostics: done
discovery-update-info:
status: exempt
comment: Integration does not implement device discovery mechanisms.
discovery:
status: exempt
comment: Tesla Fleet API requires OAuth authentication and cannot be automatically discovered.
Comment on lines +50 to +52
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we detect a tesla on a network? Would it make sense to autodetect the integration then

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, only on Bluetooth, but I want to save that for the Tesla Bluetooth integration.

docs-data-update: done
docs-examples:
status: todo
comment: Documentation includes NGINX configuration examples but lacks automation use case examples.
docs-known-limitations: done
docs-supported-devices: done
docs-supported-functions: done
docs-troubleshooting: done
docs-use-cases:
status: todo
comment: Documentation does not include explicit use case scenarios.
dynamic-devices: done
entity-category: done
entity-device-class: done
entity-disabled-by-default: done
entity-translations: done
exception-translations:
status: todo
comment: PR already raised to fix these
icon-translations: done
reconfiguration-flow:
status: todo
comment: Integration does not implement async_step_reconfigure for updating settings without removal.
repair-issues:
status: exempt
comment: Integration does not have scenarios requiring user-actionable repair issues.
stale-devices:
status: todo
comment: Integration does not automatically remove devices that are no longer present in the Tesla account.
# Platinum tier
async-dependency: done
inject-websession: done
strict-typing:
status: todo
comment: Integration is not yet registered in .strict-typing file and needs comprehensive type annotation review.
1 change: 0 additions & 1 deletion script/hassfest/quality_scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,6 @@ class Rule:
"telnet",
"temper",
"template",
"tesla_fleet",
"tesla_wall_connector",
Comment on lines 937 to 940
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description states it should "Add quality_scale: bronze to manifest.json" and includes tracking for higher tiers. However, the manifest.json file is not modified in this diff. Additionally, the validation logic at lines 2242-2249 of this file requires that if a quality_scale field is added to the manifest, tesla_fleet must be removed from INTEGRATIONS_WITHOUT_SCALE in this file. The diff shows tesla_fleet still in INTEGRATIONS_WITHOUT_SCALE at line 1939. These changes appear to be missing from the PR.

Copilot uses AI. Check for mistakes.
"thermobeacon",
"thermopro",
Expand Down