mirror of https://github.com/home-assistant/core
986 lines
29 KiB
Plaintext
986 lines
29 KiB
Plaintext
# serializer version: 1
|
|
# name: test_general_numbers[coffee_target_temperature-94-set_temp-kwargs0]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'temperature',
|
|
'friendly_name': 'GS012345 Coffee target temperature',
|
|
'max': 104,
|
|
'min': 85,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_coffee_target_temperature',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '95',
|
|
})
|
|
# ---
|
|
# name: test_general_numbers[coffee_target_temperature-94-set_temp-kwargs0].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 104,
|
|
'min': 85,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.gs012345_coffee_target_temperature',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Coffee target temperature',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'coffee_temp',
|
|
'unique_id': 'GS012345_coffee_temp',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_general_numbers[smart_standby_time-23-set_smart_standby-kwargs1]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Smart standby time',
|
|
'max': 240,
|
|
'min': 10,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 10,
|
|
'unit_of_measurement': <UnitOfTime.MINUTES: 'min'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_smart_standby_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '10',
|
|
})
|
|
# ---
|
|
# name: test_general_numbers[smart_standby_time-23-set_smart_standby-kwargs1].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 240,
|
|
'min': 10,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 10,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.gs012345_smart_standby_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Smart standby time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'smart_standby_time',
|
|
'unique_id': 'GS012345_smart_standby_time',
|
|
'unit_of_measurement': <UnitOfTime.MINUTES: 'min'>,
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[steam_target_temperature-131-set_temp-kwargs0-GS3 AV]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'temperature',
|
|
'friendly_name': 'GS012345 Steam target temperature',
|
|
'max': 131,
|
|
'min': 126,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_steam_target_temperature',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '123.900001525879',
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[steam_target_temperature-131-set_temp-kwargs0-GS3 AV].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 131,
|
|
'min': 126,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.gs012345_steam_target_temperature',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Steam target temperature',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'steam_temp',
|
|
'unique_id': 'GS012345_steam_temp',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[steam_target_temperature-131-set_temp-kwargs0-GS3 MP]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'temperature',
|
|
'friendly_name': 'GS012345 Steam target temperature',
|
|
'max': 131,
|
|
'min': 126,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_steam_target_temperature',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '123.900001525879',
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[steam_target_temperature-131-set_temp-kwargs0-GS3 MP].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 131,
|
|
'min': 126,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.gs012345_steam_target_temperature',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Steam target temperature',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'steam_temp',
|
|
'unique_id': 'GS012345_steam_temp',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[tea_water_duration-15-set_dose_tea_water-kwargs1-GS3 AV]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Tea water duration',
|
|
'max': 30,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_tea_water_duration',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '8',
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[tea_water_duration-15-set_dose_tea_water-kwargs1-GS3 AV].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 30,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.gs012345_tea_water_duration',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Tea water duration',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'tea_water_duration',
|
|
'unique_id': 'GS012345_tea_water_duration',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[tea_water_duration-15-set_dose_tea_water-kwargs1-GS3 MP]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Tea water duration',
|
|
'max': 30,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_tea_water_duration',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '8',
|
|
})
|
|
# ---
|
|
# name: test_gs3_exclusive[tea_water_duration-15-set_dose_tea_water-kwargs1-GS3 MP].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 30,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.gs012345_tea_water_duration',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Tea water duration',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'tea_water_duration',
|
|
'unique_id': 'GS012345_tea_water_duration',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[dose-6-Disabled-set_dose-kwargs3-GS3 AV][GS012345_dose_key_1-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'GS012345 Dose Key 1',
|
|
'max': 999,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': 'ticks',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_dose_key_1',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '135',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[dose-6-Disabled-set_dose-kwargs3-GS3 AV][GS012345_dose_key_2-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'GS012345 Dose Key 2',
|
|
'max': 999,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': 'ticks',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_dose_key_2',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '97',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[dose-6-Disabled-set_dose-kwargs3-GS3 AV][GS012345_dose_key_3-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'GS012345 Dose Key 3',
|
|
'max': 999,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': 'ticks',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_dose_key_3',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '108',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[dose-6-Disabled-set_dose-kwargs3-GS3 AV][GS012345_dose_key_4-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'friendly_name': 'GS012345 Dose Key 4',
|
|
'max': 999,
|
|
'min': 0,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 1,
|
|
'unit_of_measurement': 'ticks',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_dose_key_4',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '121',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_off_time-6-Enabled-set_prebrew_time-kwargs0-GS3 AV][GS012345_prebrew_off_time_key_1-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew off time Key 1',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_off_time_key_1',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_off_time-6-Enabled-set_prebrew_time-kwargs0-GS3 AV][GS012345_prebrew_off_time_key_2-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew off time Key 2',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_off_time_key_2',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_off_time-6-Enabled-set_prebrew_time-kwargs0-GS3 AV][GS012345_prebrew_off_time_key_3-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew off time Key 3',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_off_time_key_3',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '3.29999995231628',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_off_time-6-Enabled-set_prebrew_time-kwargs0-GS3 AV][GS012345_prebrew_off_time_key_4-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew off time Key 4',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_off_time_key_4',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '2',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_on_time-6-Enabled-set_prebrew_time-kwargs1-GS3 AV][GS012345_prebrew_on_time_key_1-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew on time Key 1',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_on_time_key_1',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_on_time-6-Enabled-set_prebrew_time-kwargs1-GS3 AV][GS012345_prebrew_on_time_key_2-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew on time Key 2',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_on_time_key_2',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_on_time-6-Enabled-set_prebrew_time-kwargs1-GS3 AV][GS012345_prebrew_on_time_key_3-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew on time Key 3',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_on_time_key_3',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '3.29999995231628',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[prebrew_on_time-6-Enabled-set_prebrew_time-kwargs1-GS3 AV][GS012345_prebrew_on_time_key_4-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Prebrew on time Key 4',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_prebrew_on_time_key_4',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '2',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[preinfusion_time-7-TypeB-set_preinfusion_time-kwargs2-GS3 AV][GS012345_preinfusion_time_key_1-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Preinfusion time Key 1',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_preinfusion_time_key_1',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[preinfusion_time-7-TypeB-set_preinfusion_time-kwargs2-GS3 AV][GS012345_preinfusion_time_key_2-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Preinfusion time Key 2',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_preinfusion_time_key_2',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[preinfusion_time-7-TypeB-set_preinfusion_time-kwargs2-GS3 AV][GS012345_preinfusion_time_key_3-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Preinfusion time Key 3',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_preinfusion_time_key_3',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '3.29999995231628',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_key_numbers[preinfusion_time-7-TypeB-set_preinfusion_time-kwargs2-GS3 AV][GS012345_preinfusion_time_key_4-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'GS012345 Preinfusion time Key 4',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.gs012345_preinfusion_time_key_4',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '2',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_off_time-set_prebrew_time-Enabled-6-kwargs0-Linea Mini]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'LM012345 Prebrew off time',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.lm012345_prebrew_off_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_off_time-set_prebrew_time-Enabled-6-kwargs0-Linea Mini].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.lm012345_prebrew_off_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Prebrew off time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'prebrew_off',
|
|
'unique_id': 'LM012345_prebrew_off',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_off_time-set_prebrew_time-Enabled-6-kwargs0-Micra]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'MR012345 Prebrew off time',
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.mr012345_prebrew_off_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_off_time-set_prebrew_time-Enabled-6-kwargs0-Micra].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 10,
|
|
'min': 1,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.mr012345_prebrew_off_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Prebrew off time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'prebrew_off',
|
|
'unique_id': 'MR012345_prebrew_off',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_on_time-set_prebrew_time-Enabled-6-kwargs1-Linea Mini]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'LM012345 Prebrew on time',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.lm012345_prebrew_on_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_on_time-set_prebrew_time-Enabled-6-kwargs1-Linea Mini].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.lm012345_prebrew_on_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Prebrew on time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'prebrew_on',
|
|
'unique_id': 'LM012345_prebrew_on',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_on_time-set_prebrew_time-Enabled-6-kwargs1-Micra]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'MR012345 Prebrew on time',
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.mr012345_prebrew_on_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[prebrew_on_time-set_prebrew_time-Enabled-6-kwargs1-Micra].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 10,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.mr012345_prebrew_on_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Prebrew on time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'prebrew_on',
|
|
'unique_id': 'MR012345_prebrew_on',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[preinfusion_time-set_preinfusion_time-TypeB-7-kwargs2-Linea Mini]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'LM012345 Preinfusion time',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.lm012345_preinfusion_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[preinfusion_time-set_preinfusion_time-TypeB-7-kwargs2-Linea Mini].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.lm012345_preinfusion_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Preinfusion time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'preinfusion_off',
|
|
'unique_id': 'LM012345_preinfusion_off',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[preinfusion_time-set_preinfusion_time-TypeB-7-kwargs2-Micra]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'duration',
|
|
'friendly_name': 'MR012345 Preinfusion time',
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.mr012345_preinfusion_time',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '1',
|
|
})
|
|
# ---
|
|
# name: test_pre_brew_infusion_numbers[preinfusion_time-set_preinfusion_time-TypeB-7-kwargs2-Micra].1
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': set({
|
|
}),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 29,
|
|
'min': 2,
|
|
'mode': <NumberMode.AUTO: 'auto'>,
|
|
'step': 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.mr012345_preinfusion_time',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.DURATION: 'duration'>,
|
|
'original_icon': None,
|
|
'original_name': 'Preinfusion time',
|
|
'platform': 'lamarzocco',
|
|
'previous_unique_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'preinfusion_off',
|
|
'unique_id': 'MR012345_preinfusion_off',
|
|
'unit_of_measurement': <UnitOfTime.SECONDS: 's'>,
|
|
})
|
|
# ---
|