1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-30 05:31:11 +01:00
Files
core/tests/components/gdacs/snapshots/test_diagnostics.ambr
Malte Franken b5831344a0 Add diagnostics to GDACS integration (#125296)
* simple diagnostics

* add service status information

* remove from no diagnostics list

* wip

* cater for the case where status info is undefined

* make test work

* code reformatted

* add snapshot data

* simplify code
2024-09-05 10:53:12 +02:00

22 lines
488 B
Plaintext

# serializer version: 1
# name: test_entry_diagnostics
dict({
'info': dict({
'categories': list([
]),
'latitude': '**REDACTED**',
'longitude': '**REDACTED**',
'radius': 25,
'scan_interval': 300.0,
'unit_system': 'metric',
}),
'service': dict({
'last_timestamp': None,
'last_update': '2024-09-05T15:00:00',
'last_update_successful': '2024-09-05T15:00:00',
'status': 'OK',
'total': 0,
}),
})
# ---