mirror of
https://github.com/home-assistant/core.git
synced 2026-05-08 17:49:37 +01:00
246 lines
6.7 KiB
Plaintext
246 lines
6.7 KiB
Plaintext
# serializer version: 1
|
|
# name: test_number[2][number.cms_sf2000_discharge_limit-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.cms_sf2000_discharge_limit',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Discharge limit',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.BATTERY: 'battery'>,
|
|
'original_icon': None,
|
|
'original_name': 'Discharge limit',
|
|
'platform': 'indevolt',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'discharge_limit',
|
|
'unique_id': 'SolidFlex2000-87654321_discharge_limit',
|
|
'unit_of_measurement': '%',
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_discharge_limit-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'battery',
|
|
'friendly_name': 'CMS-SF2000 Discharge limit',
|
|
'max': 100,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 1,
|
|
'unit_of_measurement': '%',
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.cms_sf2000_discharge_limit',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '5',
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_feed_in_power_limit-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 2400,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.cms_sf2000_feed_in_power_limit',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Feed-in power limit',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.POWER: 'power'>,
|
|
'original_icon': None,
|
|
'original_name': 'Feed-in power limit',
|
|
'platform': 'indevolt',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'feedin_power_limit',
|
|
'unique_id': 'SolidFlex2000-87654321_feedin_power_limit',
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_feed_in_power_limit-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'power',
|
|
'friendly_name': 'CMS-SF2000 Feed-in power limit',
|
|
'max': 2400,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.cms_sf2000_feed_in_power_limit',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '52',
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_inverter_input_limit-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 2400,
|
|
'min': 100,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.cms_sf2000_inverter_input_limit',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Inverter input limit',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.POWER: 'power'>,
|
|
'original_icon': None,
|
|
'original_name': 'Inverter input limit',
|
|
'platform': 'indevolt',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'inverter_input_limit',
|
|
'unique_id': 'SolidFlex2000-87654321_inverter_input_limit',
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_inverter_input_limit-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'power',
|
|
'friendly_name': 'CMS-SF2000 Inverter input limit',
|
|
'max': 2400,
|
|
'min': 100,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.cms_sf2000_inverter_input_limit',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '50',
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_max_ac_output_power-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
'max': 2400,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': None,
|
|
'entity_id': 'number.cms_sf2000_max_ac_output_power',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Max AC output power',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.POWER: 'power'>,
|
|
'original_icon': None,
|
|
'original_name': 'Max AC output power',
|
|
'platform': 'indevolt',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'max_ac_output_power',
|
|
'unique_id': 'SolidFlex2000-87654321_max_ac_output_power',
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
})
|
|
# ---
|
|
# name: test_number[2][number.cms_sf2000_max_ac_output_power-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
'device_class': 'power',
|
|
'friendly_name': 'CMS-SF2000 Max AC output power',
|
|
'max': 2400,
|
|
'min': 0,
|
|
'mode': <NumberMode.BOX: 'box'>,
|
|
'step': 100,
|
|
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.cms_sf2000_max_ac_output_power',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '85',
|
|
})
|
|
# ---
|