mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Add quality scale for weheat (#135384)
This commit is contained in:
parent
c489f94026
commit
4ddb72314d
96
homeassistant/components/weheat/quality_scale.yaml
Normal file
96
homeassistant/components/weheat/quality_scale.yaml
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
rules:
|
||||||
|
# Bronze
|
||||||
|
action-setup:
|
||||||
|
status: exempt
|
||||||
|
comment: No service actions currently available
|
||||||
|
appropriate-polling: done
|
||||||
|
brands: done
|
||||||
|
common-modules: done
|
||||||
|
config-flow-test-coverage: done
|
||||||
|
config-flow: done
|
||||||
|
dependency-transparency: done
|
||||||
|
docs-actions: done
|
||||||
|
docs-high-level-description: done
|
||||||
|
docs-installation-instructions: done
|
||||||
|
docs-removal-instructions: done
|
||||||
|
entity-event-setup:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
No explicit event subscriptions.
|
||||||
|
entity-unique-id: done
|
||||||
|
has-entity-name: done
|
||||||
|
runtime-data: done
|
||||||
|
test-before-configure:
|
||||||
|
status: todo
|
||||||
|
comment: |
|
||||||
|
There are two servers that are used for this integration.
|
||||||
|
If the authentication server is unreachable, the user will not pass the configuration step.
|
||||||
|
If the backend is unreachable, an empty error message is displayed.
|
||||||
|
test-before-setup: done
|
||||||
|
unique-config-entry: done
|
||||||
|
|
||||||
|
# Silver
|
||||||
|
action-exceptions:
|
||||||
|
status: exempt
|
||||||
|
comment: No service actions currently available
|
||||||
|
config-entry-unloading: done
|
||||||
|
docs-configuration-parameters:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
No configuration parameters available.
|
||||||
|
docs-installation-parameters: done
|
||||||
|
entity-unavailable: done
|
||||||
|
integration-owner: done
|
||||||
|
log-when-unavailable: done
|
||||||
|
parallel-updates:
|
||||||
|
status: todo
|
||||||
|
comment: |
|
||||||
|
PARALLEL_UPDATES is not set.
|
||||||
|
reauthentication-flow: done
|
||||||
|
test-coverage: done
|
||||||
|
|
||||||
|
# Gold
|
||||||
|
devices: done
|
||||||
|
diagnostics: todo
|
||||||
|
discovery-update-info:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration is a cloud service and thus does not support discovery.
|
||||||
|
discovery:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This integration is a cloud service and thus does not support discovery.
|
||||||
|
docs-data-update: done
|
||||||
|
docs-examples: todo
|
||||||
|
docs-known-limitations: done
|
||||||
|
docs-supported-devices: done
|
||||||
|
docs-supported-functions: todo
|
||||||
|
docs-troubleshooting: done
|
||||||
|
docs-use-cases: todo
|
||||||
|
dynamic-devices:
|
||||||
|
status: todo
|
||||||
|
comment: |
|
||||||
|
While unlikely to happen. Check if it is easily integrated.
|
||||||
|
entity-category: todo
|
||||||
|
entity-device-class: done
|
||||||
|
entity-disabled-by-default: todo
|
||||||
|
entity-translations: done
|
||||||
|
exception-translations: todo
|
||||||
|
icon-translations: done
|
||||||
|
reconfiguration-flow:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
There is no reconfiguration, as the only configuration step is authentication.
|
||||||
|
repair-issues:
|
||||||
|
status: exempt
|
||||||
|
comment: |
|
||||||
|
This is a cloud service and apart form reauthentication there are not user repairable issues.
|
||||||
|
stale-devices:
|
||||||
|
status: todo
|
||||||
|
comment: |
|
||||||
|
While unlikely to happen. Check if it is easily integrated.
|
||||||
|
|
||||||
|
# Platinum
|
||||||
|
async-dependency: todo
|
||||||
|
inject-websession: todo
|
||||||
|
strict-typing: todo
|
@ -1118,7 +1118,6 @@ INTEGRATIONS_WITHOUT_QUALITY_SCALE_FILE = [
|
|||||||
"weatherflow_cloud",
|
"weatherflow_cloud",
|
||||||
"weatherkit",
|
"weatherkit",
|
||||||
"webmin",
|
"webmin",
|
||||||
"weheat",
|
|
||||||
"wemo",
|
"wemo",
|
||||||
"whirlpool",
|
"whirlpool",
|
||||||
"whois",
|
"whois",
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
from unittest.mock import AsyncMock, patch
|
from unittest.mock import AsyncMock, patch
|
||||||
|
|
||||||
from freezegun.api import FrozenDateTimeFactory
|
|
||||||
import pytest
|
import pytest
|
||||||
from syrupy import SnapshotAssertion
|
from syrupy import SnapshotAssertion
|
||||||
from weheat.abstractions.discovery import HeatPumpDiscovery
|
from weheat.abstractions.discovery import HeatPumpDiscovery
|
||||||
@ -40,7 +39,6 @@ async def test_create_binary_entities(
|
|||||||
mock_weheat_heat_pump: AsyncMock,
|
mock_weheat_heat_pump: AsyncMock,
|
||||||
mock_heat_pump_info: HeatPumpDiscovery.HeatPumpInfo,
|
mock_heat_pump_info: HeatPumpDiscovery.HeatPumpInfo,
|
||||||
mock_config_entry: MockConfigEntry,
|
mock_config_entry: MockConfigEntry,
|
||||||
freezer: FrozenDateTimeFactory,
|
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Test creating entities."""
|
"""Test creating entities."""
|
||||||
mock_weheat_discover.return_value = [mock_heat_pump_info]
|
mock_weheat_discover.return_value = [mock_heat_pump_info]
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
from unittest.mock import AsyncMock, patch
|
from unittest.mock import AsyncMock, patch
|
||||||
|
|
||||||
from freezegun.api import FrozenDateTimeFactory
|
|
||||||
import pytest
|
import pytest
|
||||||
from syrupy import SnapshotAssertion
|
from syrupy import SnapshotAssertion
|
||||||
from weheat.abstractions.discovery import HeatPumpDiscovery
|
from weheat.abstractions.discovery import HeatPumpDiscovery
|
||||||
@ -41,7 +40,6 @@ async def test_create_entities(
|
|||||||
mock_weheat_heat_pump: AsyncMock,
|
mock_weheat_heat_pump: AsyncMock,
|
||||||
mock_heat_pump_info: HeatPumpDiscovery.HeatPumpInfo,
|
mock_heat_pump_info: HeatPumpDiscovery.HeatPumpInfo,
|
||||||
mock_config_entry: MockConfigEntry,
|
mock_config_entry: MockConfigEntry,
|
||||||
freezer: FrozenDateTimeFactory,
|
|
||||||
has_dhw: bool,
|
has_dhw: bool,
|
||||||
nr_of_entities: int,
|
nr_of_entities: int,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user