mirror of
https://github.com/home-assistant/core.git
synced 2026-02-21 02:18:47 +00:00
101 lines
2.8 KiB
Plaintext
101 lines
2.8 KiB
Plaintext
# serializer version: 1
|
|
# name: test_buttons[button.test_thermostat_recalibrate_co2_sensor-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.test_thermostat_recalibrate_co2_sensor',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Recalibrate CO2 sensor',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': None,
|
|
'original_icon': None,
|
|
'original_name': 'Recalibrate CO2 sensor',
|
|
'platform': 'airobot',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'recalibrate_co2',
|
|
'unique_id': 'T01A1B2C3_recalibrate_co2',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_buttons[button.test_thermostat_recalibrate_co2_sensor-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'Test Thermostat Recalibrate CO2 sensor',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.test_thermostat_recalibrate_co2_sensor',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|
|
# name: test_buttons[button.test_thermostat_restart-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': None,
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'button',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'button.test_thermostat_restart',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Restart',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>,
|
|
'original_icon': None,
|
|
'original_name': 'Restart',
|
|
'platform': 'airobot',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': None,
|
|
'unique_id': 'T01A1B2C3_restart',
|
|
'unit_of_measurement': None,
|
|
})
|
|
# ---
|
|
# name: test_buttons[button.test_thermostat_restart-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'restart',
|
|
'friendly_name': 'Test Thermostat Restart',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'button.test_thermostat_restart',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': 'unknown',
|
|
})
|
|
# ---
|