mirror of
https://github.com/home-assistant/core.git
synced 2026-09-11 16:11:03 +01:00
734 lines
28 KiB
Plaintext
734 lines
28 KiB
Plaintext
# serializer version: 1
|
|
# name: test_adam_number_entities[platforms0][number.bios_cv_thermostatic_radiator_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.bios_cv_thermostatic_radiator_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'a2c3583e0a6349358998b760cea82d2a-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.bios_cv_thermostatic_radiator_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Bios Cv Thermostatic Radiator Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.bios_cv_thermostatic_radiator_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.cv_kraan_garage_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.cv_kraan_garage_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'e7693eb9582644e5b865dba8d4447cf1-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.cv_kraan_garage_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'CV Kraan Garage Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.cv_kraan_garage_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.floor_kraan_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.floor_kraan_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'b310b72a0e354bfab43089919b9a88bf-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.floor_kraan_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Floor kraan Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.floor_kraan_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_1_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.thermostatic_radiator_badkamer_1_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': '680423ff840043738f42cc7f1ff97a36-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_1_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Thermostatic Radiator Badkamer 1 Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.thermostatic_radiator_badkamer_1_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_2_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.thermostatic_radiator_badkamer_2_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'f1fee6043d3642a9b0a65297455f008e-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_badkamer_2_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Thermostatic Radiator Badkamer 2 Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.thermostatic_radiator_badkamer_2_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_jessie_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.thermostatic_radiator_jessie_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'd3da73bde12a47d5a6b8f9dad971f2ec-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.thermostatic_radiator_jessie_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Thermostatic Radiator Jessie Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.thermostatic_radiator_jessie_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_lisa_bios_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.zone_lisa_bios_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'df4a4a8169904cdb9c03d61a21f42140-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_lisa_bios_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Zone Lisa Bios Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.zone_lisa_bios_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_lisa_wk_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.zone_lisa_wk_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': 'b59bcebaf94b499ea7d46e4a66fb62d8-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_lisa_wk_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Zone Lisa WK Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.zone_lisa_wk_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_thermostat_jessie_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.zone_thermostat_jessie_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': '6a3bf693d05e48e0b460c815a4fdd09d-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_adam_number_entities[platforms0][number.zone_thermostat_jessie_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Zone Thermostat Jessie Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.zone_thermostat_jessie_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '0.0',
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.anna_temperature_offset-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.anna_temperature_offset',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Temperature offset',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Temperature offset',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'temperature_offset',
|
|
'unique_id': '3cb70739631c4d17a86b8b12e8a5161b-temperature_offset',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.anna_temperature_offset-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'Anna Temperature offset',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 2.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: -2.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.1,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.anna_temperature_offset',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '-0.5',
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_domestic_hot_water_setpoint-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 60.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: 35.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.5,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.opentherm_domestic_hot_water_setpoint',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Domestic hot water setpoint',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Domestic hot water setpoint',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'max_dhw_temperature',
|
|
'unique_id': '1cbf783bb11e4a7c8a6843dee3a86927-max_dhw_temperature',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_domestic_hot_water_setpoint-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'OpenTherm Domestic hot water setpoint',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 60.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: 35.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 0.5,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.opentherm_domestic_hot_water_setpoint',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '53.0',
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_maximum_boiler_temperature_setpoint-entry]
|
|
EntityRegistryEntrySnapshot({
|
|
'aliases': list([
|
|
None,
|
|
]),
|
|
'area_id': None,
|
|
'capabilities': dict({
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 100.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: 0.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 1.0,
|
|
}),
|
|
'config_entry_id': <ANY>,
|
|
'config_subentry_id': <ANY>,
|
|
'device_class': None,
|
|
'device_id': <ANY>,
|
|
'disabled_by': None,
|
|
'domain': 'number',
|
|
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
|
'entity_id': 'number.opentherm_maximum_boiler_temperature_setpoint',
|
|
'has_entity_name': True,
|
|
'hidden_by': None,
|
|
'icon': None,
|
|
'id': <ANY>,
|
|
'labels': set({
|
|
}),
|
|
'name': None,
|
|
'object_id_base': 'Maximum boiler temperature setpoint',
|
|
'options': dict({
|
|
}),
|
|
'original_device_class': <NumberDeviceClass.TEMPERATURE: 'temperature'>,
|
|
'original_icon': None,
|
|
'original_name': 'Maximum boiler temperature setpoint',
|
|
'platform': 'plugwise',
|
|
'previous_unique_id': None,
|
|
'suggested_object_id': None,
|
|
'supported_features': 0,
|
|
'translation_key': 'maximum_boiler_temperature',
|
|
'unique_id': '1cbf783bb11e4a7c8a6843dee3a86927-maximum_boiler_temperature',
|
|
'unit_of_measurement': <UnitOfTemperature.CELSIUS: '°C'>,
|
|
})
|
|
# ---
|
|
# name: test_anna_number_entities[platforms0-True-anna_heatpump_heating][number.opentherm_maximum_boiler_temperature_setpoint-state]
|
|
StateSnapshot({
|
|
'attributes': ReadOnlyDict({
|
|
<EntityStateAttribute.DEVICE_CLASS: 'device_class'>: 'temperature',
|
|
<EntityStateAttribute.FRIENDLY_NAME: 'friendly_name'>: 'OpenTherm Maximum boiler temperature setpoint',
|
|
<NumberEntityCapabilityAttribute.MAX: 'max'>: 100.0,
|
|
<NumberEntityCapabilityAttribute.MIN: 'min'>: 0.0,
|
|
<NumberEntityCapabilityAttribute.MODE: 'mode'>: <NumberMode.BOX: 'box'>,
|
|
<NumberEntityCapabilityAttribute.STEP: 'step'>: 1.0,
|
|
<EntityStateAttribute.UNIT_OF_MEASUREMENT: 'unit_of_measurement'>: <UnitOfTemperature.CELSIUS: '°C'>,
|
|
}),
|
|
'context': <ANY>,
|
|
'entity_id': 'number.opentherm_maximum_boiler_temperature_setpoint',
|
|
'last_changed': <ANY>,
|
|
'last_reported': <ANY>,
|
|
'last_updated': <ANY>,
|
|
'state': '60.0',
|
|
})
|
|
# ---
|