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

111 lines
3.1 KiB
Plaintext

# serializer version: 1
# name: test_entry_diagnostics
dict({
'data': dict({
'entities': dict({
'device_tracker.test1': dict({
'dir_of_travel': None,
'dist_to_zone': 2218752,
'is_in_ignored_zone': False,
'name': 'test1',
}),
'device_tracker.test2': dict({
'dir_of_travel': None,
'dist_to_zone': 4077309,
'is_in_ignored_zone': False,
'name': 'test2',
}),
'device_tracker.test3': dict({
'dir_of_travel': None,
'dist_to_zone': 4077309,
'is_in_ignored_zone': False,
'name': 'test3',
}),
}),
'entity_mapping': dict({
'device_tracker.test1': list([
'sensor.home_test1_distance',
'sensor.home_test1_direction_of_travel',
]),
'device_tracker.test2': list([
'sensor.home_test2_distance',
'sensor.home_test2_direction_of_travel',
]),
'device_tracker.test3': list([
'sensor.home_test3_distance',
'sensor.home_test3_direction_of_travel',
]),
'device_tracker.test4': list([
'sensor.home_test4_distance',
'sensor.home_test4_direction_of_travel',
]),
}),
'proximity': dict({
'dir_of_travel': None,
'dist_to_zone': 2218752,
'nearest': 'test1',
}),
'tracked_states': dict({
'device_tracker.test1': dict({
'attributes': dict({
'friendly_name': 'test1',
'latitude': '**REDACTED**',
'longitude': '**REDACTED**',
}),
'context': '**REDACTED**',
'entity_id': 'device_tracker.test1',
'state': 'not_home',
}),
'device_tracker.test2': dict({
'attributes': dict({
'friendly_name': 'test2',
'latitude': '**REDACTED**',
'longitude': '**REDACTED**',
}),
'context': '**REDACTED**',
'entity_id': 'device_tracker.test2',
'state': 'not_home',
}),
'device_tracker.test3': dict({
'attributes': dict({
'friendly_name': 'test3',
'latitude': '**REDACTED**',
'location_name': '**REDACTED**',
'longitude': '**REDACTED**',
}),
'context': '**REDACTED**',
'entity_id': 'device_tracker.test3',
'state': '**REDACTED**',
}),
}),
}),
'entry': dict({
'data': dict({
'ignored_zones': list([
]),
'tolerance': 1,
'tracked_entities': list([
'device_tracker.test1',
'device_tracker.test2',
'device_tracker.test3',
'device_tracker.test4',
]),
'zone': 'zone.home',
}),
'disabled_by': None,
'discovery_keys': dict({
}),
'domain': 'proximity',
'minor_version': 1,
'options': dict({
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'user',
'title': 'home',
'unique_id': 'proximity_home',
'version': 1,
}),
})
# ---