core/tests/components/fyta/snapshots/test_diagnostics.ambr

76 lines
2.0 KiB
Plaintext

# serializer version: 1
# name: test_entry_diagnostics
dict({
'config_entry': dict({
'data': dict({
'access_token': '**REDACTED**',
'expiration': '2030-12-31T10:00:00+00:00',
'password': '**REDACTED**',
'username': '**REDACTED**',
}),
'disabled_by': None,
'discovery_keys': dict({
}),
'domain': 'fyta',
'entry_id': 'ce5f5431554d101905d31797e1232da8',
'minor_version': 2,
'options': dict({
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'user',
'title': 'fyta_user',
'unique_id': None,
'version': 1,
}),
'plant_data': dict({
'0': dict({
'battery_level': 80.0,
'battery_status': True,
'last_updated': '2023-01-10T10:10:00',
'light': 2.0,
'light_status': 3,
'moisture': 61.0,
'moisture_status': 3,
'name': 'Gummibaum',
'online': True,
'ph': None,
'plant_id': 0,
'plant_origin_path': '',
'plant_thumb_path': '',
'salinity': 1.0,
'salinity_status': 4,
'scientific_name': 'Ficus elastica',
'sensor_available': True,
'status': 1,
'sw_version': '1.0',
'temperature': 25.2,
'temperature_status': 3,
}),
'1': dict({
'battery_level': 80.0,
'battery_status': True,
'last_updated': '2023-01-02T10:10:00',
'light': 2.0,
'light_status': 3,
'moisture': 61.0,
'moisture_status': 3,
'name': 'Kakaobaum',
'online': True,
'ph': 7.0,
'plant_id': 0,
'plant_origin_path': '',
'plant_thumb_path': '',
'salinity': 1.0,
'salinity_status': 4,
'scientific_name': 'Theobroma cacao',
'sensor_available': True,
'status': 1,
'sw_version': '1.0',
'temperature': 25.2,
'temperature_status': 3,
}),
}),
})
# ---