core/tests/components/elgato/snapshots/test_switch.ambr

166 lines
4.1 KiB
Plaintext

# serializer version: 1
# name: test_switches[switch.frenck_energy_saving-energy_saving-key-light-mini]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Frenck Energy saving',
}),
'context': <ANY>,
'entity_id': 'switch.frenck_energy_saving',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_switches[switch.frenck_energy_saving-energy_saving-key-light-mini].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'switch.frenck_energy_saving',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Energy saving',
'platform': 'elgato',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'energy_saving',
'unique_id': 'GW24L1A02987_energy_saving',
'unit_of_measurement': None,
})
# ---
# name: test_switches[switch.frenck_energy_saving-energy_saving-key-light-mini].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
tuple(
'mac',
'aa:bb:cc:dd:ee:ff',
),
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '202',
'id': <ANY>,
'identifiers': set({
tuple(
'elgato',
'GW24L1A02987',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Elgato',
'model': 'Elgato Key Light Mini',
'model_id': None,
'name': 'Frenck',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': 'GW24L1A02987',
'suggested_area': None,
'sw_version': '1.0.4 (229)',
'via_device_id': None,
})
# ---
# name: test_switches[switch.frenck_studio_mode-battery_bypass-key-light-mini]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Frenck Studio mode',
}),
'context': <ANY>,
'entity_id': 'switch.frenck_studio_mode',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_switches[switch.frenck_studio_mode-battery_bypass-key-light-mini].1
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'switch',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'switch.frenck_studio_mode',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Studio mode',
'platform': 'elgato',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'bypass',
'unique_id': 'GW24L1A02987_bypass',
'unit_of_measurement': None,
})
# ---
# name: test_switches[switch.frenck_studio_mode-battery_bypass-key-light-mini].2
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'configuration_url': None,
'connections': set({
tuple(
'mac',
'aa:bb:cc:dd:ee:ff',
),
}),
'disabled_by': None,
'entry_type': None,
'hw_version': '202',
'id': <ANY>,
'identifiers': set({
tuple(
'elgato',
'GW24L1A02987',
),
}),
'is_new': False,
'labels': set({
}),
'manufacturer': 'Elgato',
'model': 'Elgato Key Light Mini',
'model_id': None,
'name': 'Frenck',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': 'GW24L1A02987',
'suggested_area': None,
'sw_version': '1.0.4 (229)',
'via_device_id': None,
})
# ---