mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Clean up HomeWizard diagnostic tests (#86211)
This commit is contained in:
parent
74096b87eb
commit
6f44bd43b0
@ -14,7 +14,6 @@ async def test_diagnostics(
|
||||
init_integration: MockConfigEntry,
|
||||
):
|
||||
"""Test diagnostics."""
|
||||
print(await get_diagnostics_for_config_entry(hass, hass_client, init_integration))
|
||||
assert await get_diagnostics_for_config_entry(
|
||||
hass, hass_client, init_integration
|
||||
) == {
|
||||
@ -28,11 +27,11 @@ async def test_diagnostics(
|
||||
"firmware_version": "2.11",
|
||||
},
|
||||
"data": {
|
||||
"wifi_ssid": "**REDACTED**",
|
||||
"wifi_ssid": REDACTED,
|
||||
"wifi_strength": 100,
|
||||
"smr_version": 50,
|
||||
"meter_model": "ISKRA 2M550T-101",
|
||||
"unique_meter_id": "**REDACTED**",
|
||||
"unique_meter_id": REDACTED,
|
||||
"active_tariff": 2,
|
||||
"total_power_import_kwh": 13779.338,
|
||||
"total_power_import_t1_kwh": 10830.511,
|
||||
@ -68,7 +67,7 @@ async def test_diagnostics(
|
||||
"montly_power_peak_timestamp": "2023-01-01T08:00:10",
|
||||
"total_gas_m3": 1122.333,
|
||||
"gas_timestamp": "2021-03-14T11:22:33",
|
||||
"gas_unique_id": "**REDACTED**",
|
||||
"gas_unique_id": REDACTED,
|
||||
"active_liter_lpm": 12.345,
|
||||
"total_liter_m3": 1234.567,
|
||||
"external_devices": None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user