mirror of https://github.com/home-assistant/core
37 lines
870 B
Plaintext
37 lines
870 B
Plaintext
# serializer version: 1
|
|
# name: test_entry_diagnostics
|
|
dict({
|
|
'config_entry': dict({
|
|
'data': dict({
|
|
'api_key': '**REDACTED**',
|
|
'location': '',
|
|
}),
|
|
'disabled_by': None,
|
|
'discovery_keys': dict({
|
|
}),
|
|
'domain': 'co2signal',
|
|
'entry_id': '904a74160aa6f335526706bee85dfb83',
|
|
'minor_version': 1,
|
|
'options': dict({
|
|
}),
|
|
'pref_disable_new_entities': False,
|
|
'pref_disable_polling': False,
|
|
'source': 'user',
|
|
'title': 'Mock Title',
|
|
'unique_id': None,
|
|
'version': 1,
|
|
}),
|
|
'data': dict({
|
|
'country_code': 'FR',
|
|
'data': dict({
|
|
'carbon_intensity': 45.98623190095805,
|
|
'fossil_fuel_percentage': 5.461182741937103,
|
|
}),
|
|
'status': 'ok',
|
|
'units': dict({
|
|
'carbon_intensity': 'gCO2eq/kWh',
|
|
}),
|
|
}),
|
|
})
|
|
# ---
|