Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,163 changes: 1,163 additions & 0 deletions tests/components/renault/snapshots/test_binary_sensor.ambr

Large diffs are not rendered by default.

539 changes: 539 additions & 0 deletions tests/components/renault/snapshots/test_button.ambr

Large diffs are not rendered by default.

278 changes: 278 additions & 0 deletions tests/components/renault/snapshots/test_device_tracker.ambr
Original file line number Diff line number Diff line change
@@ -0,0 +1,278 @@
# serializer version: 1
# name: test_device_trackers[captur_fuel]
list([
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'renault',
'VF1AAAAA555777123',
),
}),
'is_new': False,
'manufacturer': 'Renault',
'model': 'Captur ii',
'name': 'REG-NUMBER',
'name_by_user': None,
'suggested_area': None,
'sw_version': 'XJB1SU',
'via_device_id': None,
}),
])
# ---
# name: test_device_trackers[captur_fuel].1
list([
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'device_tracker',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'device_tracker.reg_number_location',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': 'mdi:car',
'original_name': 'Location',
'platform': 'renault',
'supported_features': 0,
'translation_key': 'location',
'unique_id': 'vf1aaaaa555777123_location',
'unit_of_measurement': None,
}),
])
# ---
# name: test_device_trackers[captur_fuel].2
list([
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'REG-NUMBER Location',
'gps_accuracy': 0,
'icon': 'mdi:car',
'latitude': 48.1234567,
'longitude': 11.1234567,
'source_type': <SourceType.GPS: 'gps'>,
}),
'context': <ANY>,
'entity_id': 'device_tracker.reg_number_location',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': 'not_home',
}),
])
# ---
# name: test_device_trackers[captur_phev]
list([
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'renault',
'VF1AAAAA555777123',
),
}),
'is_new': False,
'manufacturer': 'Renault',
'model': 'Captur ii',
'name': 'REG-NUMBER',
'name_by_user': None,
'suggested_area': None,
'sw_version': 'XJB1SU',
'via_device_id': None,
}),
])
# ---
# name: test_device_trackers[captur_phev].1
list([
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'device_tracker',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'device_tracker.reg_number_location',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': 'mdi:car',
'original_name': 'Location',
'platform': 'renault',
'supported_features': 0,
'translation_key': 'location',
'unique_id': 'vf1aaaaa555777123_location',
'unit_of_measurement': None,
}),
])
# ---
# name: test_device_trackers[captur_phev].2
list([
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'REG-NUMBER Location',
'gps_accuracy': 0,
'icon': 'mdi:car',
'latitude': 48.1234567,
'longitude': 11.1234567,
'source_type': <SourceType.GPS: 'gps'>,
}),
'context': <ANY>,
'entity_id': 'device_tracker.reg_number_location',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': 'not_home',
}),
])
# ---
# name: test_device_trackers[zoe_40]
list([
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'renault',
'VF1AAAAA555777999',
),
}),
'is_new': False,
'manufacturer': 'Renault',
'model': 'Zoe',
'name': 'REG-NUMBER',
'name_by_user': None,
'suggested_area': None,
'sw_version': 'X101VE',
'via_device_id': None,
}),
])
# ---
# name: test_device_trackers[zoe_40].1
list([
])
# ---
# name: test_device_trackers[zoe_40].2
list([
])
# ---
# name: test_device_trackers[zoe_50]
list([
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': None,
'id': <ANY>,
'identifiers': set({
tuple(
'renault',
'VF1AAAAA555777999',
),
}),
'is_new': False,
'manufacturer': 'Renault',
'model': 'Zoe',
'name': 'REG-NUMBER',
'name_by_user': None,
'suggested_area': None,
'sw_version': 'X102VE',
'via_device_id': None,
}),
])
# ---
# name: test_device_trackers[zoe_50].1
list([
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'device_tracker',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'device_tracker.reg_number_location',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': 'mdi:car',
'original_name': 'Location',
'platform': 'renault',
'supported_features': 0,
'translation_key': 'location',
'unique_id': 'vf1aaaaa555777999_location',
'unit_of_measurement': None,
}),
])
# ---
# name: test_device_trackers[zoe_50].2
list([
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'REG-NUMBER Location',
'gps_accuracy': 0,
'icon': 'mdi:car',
'latitude': 48.1234567,
'longitude': 11.1234567,
'source_type': <SourceType.GPS: 'gps'>,
}),
'context': <ANY>,
'entity_id': 'device_tracker.reg_number_location',
'last_changed': <ANY>,
'last_updated': <ANY>,
'state': 'not_home',
}),
])
# ---
Loading