Cleanup unused snapshots (#128549)

* Cleanup unused snapshots

* Cleanup a few more

* Cleanup systemmonitor

* Cleanup voip
pull/122572/head^2
epenet 2024-10-17 10:41:57 +02:00 committed by GitHub
parent cb1b917aa6
commit 906cecf087
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
16 changed files with 0 additions and 9138 deletions

View File

@ -299,103 +299,3 @@
'state': '339',
})
# ---
# name: test_all_entities[sensor.total_active_installations-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.total_active_installations',
'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': 'Total active installations',
'platform': 'analytics_insights',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'total_active_installations',
'unique_id': 'total_active_installations',
'unit_of_measurement': 'active installations',
})
# ---
# name: test_all_entities[sensor.total_active_installations-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Homeassistant Analytics Total active installations',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': 'active installations',
}),
'context': <ANY>,
'entity_id': 'sensor.total_active_installations',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '310400',
})
# ---
# name: test_all_entities[sensor.total_reports_integrations-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.total_reports_integrations',
'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': 'Total reported integrations',
'platform': 'analytics_insights',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'total_reports_integrations',
'unique_id': 'total_reports_integrations',
'unit_of_measurement': 'active installations',
})
# ---
# name: test_all_entities[sensor.total_reports_integrations-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Homeassistant Analytics Total reported integrations',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': 'active installations',
}),
'context': <ANY>,
'entity_id': 'sensor.total_reports_integrations',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '249256',
})
# ---

View File

@ -84,60 +84,6 @@
'type': <FlowResultType.ABORT: 'abort'>,
})
# ---
# name: test_bluetooth_lost
FlowResultSnapshot({
'data_schema': None,
'description_placeholders': dict({
'name': 'Timer',
}),
'errors': None,
'flow_id': <ANY>,
'handler': 'gardena_bluetooth',
'last_step': None,
'step_id': 'confirm',
'type': <FlowResultType.FORM: 'form'>,
})
# ---
# name: test_bluetooth_lost.1
FlowResultSnapshot({
'context': dict({
'confirm_only': True,
'source': 'bluetooth',
'title_placeholders': dict({
'name': 'Timer',
}),
'unique_id': '00000000-0000-0000-0000-000000000001',
}),
'data': dict({
'address': '00000000-0000-0000-0000-000000000001',
}),
'description': None,
'description_placeholders': None,
'flow_id': <ANY>,
'handler': 'gardena_bluetooth',
'options': dict({
}),
'result': ConfigEntrySnapshot({
'data': dict({
'address': '00000000-0000-0000-0000-000000000001',
}),
'disabled_by': None,
'domain': 'gardena_bluetooth',
'entry_id': <ANY>,
'options': dict({
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'bluetooth',
'title': 'Timer',
'unique_id': '00000000-0000-0000-0000-000000000001',
'version': 1,
}),
'title': 'Timer',
'type': <FlowResultType.CREATE_ENTRY: 'create_entry'>,
'version': 1,
})
# ---
# name: test_failed_connect[component.gardena_bluetooth.config.abort.cannot_connect]
FlowResultSnapshot({
'data_schema': list([

File diff suppressed because it is too large Load Diff

View File

@ -188,147 +188,6 @@
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_pumping',
'unique_id': 'c0ffeec0ffee_is_pumping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running_2-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_2',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_burning',
'unique_id': 'c0ffeec0ffee_is_burning',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running_3-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_3',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_tapping',
'unique_id': 'c0ffeec0ffee_is_tapping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_burning][binary_sensor.boiler_running_3-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_3',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_burner-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -518,147 +377,6 @@
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_pumping',
'unique_id': 'c0ffeec0ffee_is_pumping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running_2-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_2',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_burning',
'unique_id': 'c0ffeec0ffee_is_burning',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running_3-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_3',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_tapping',
'unique_id': 'c0ffeec0ffee_is_tapping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_failed][binary_sensor.boiler_running_3-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_3',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_burner-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -848,147 +566,6 @@
'state': 'on',
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_pumping',
'unique_id': 'c0ffeec0ffee_is_pumping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running_2-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_2',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_burning',
'unique_id': 'c0ffeec0ffee_is_burning',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running_3-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_3',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_tapping',
'unique_id': 'c0ffeec0ffee_is_tapping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_pumping][binary_sensor.boiler_running_3-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_3',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_burner-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -1178,147 +755,6 @@
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_pumping',
'unique_id': 'c0ffeec0ffee_is_pumping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running_2-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_2',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_burning',
'unique_id': 'c0ffeec0ffee_is_burning',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running_3-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_3',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_tapping',
'unique_id': 'c0ffeec0ffee_is_tapping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_binary_sensors_alt[is_tapping][binary_sensor.boiler_running_3-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_3',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_setup_platform[binary_sensor.boiler_burner-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -1508,144 +944,3 @@
'state': 'off',
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_pumping',
'unique_id': 'c0ffeec0ffee_is_pumping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running_2-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_2',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_burning',
'unique_id': 'c0ffeec0ffee_is_burning',
'unit_of_measurement': None,
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running_2-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_2',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running_3-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': None,
'entity_id': 'binary_sensor.boiler_running_3',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.RUNNING: 'running'>,
'original_icon': None,
'original_name': 'Running',
'platform': 'incomfort',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'is_tapping',
'unique_id': 'c0ffeec0ffee_is_tapping',
'unit_of_measurement': None,
})
# ---
# name: test_setup_platform[binary_sensor.boiler_running_3-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'running',
'friendly_name': 'Boiler Running',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.boiler_running_3',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---

View File

@ -288,100 +288,6 @@
'state': '192.168.2.108',
})
# ---
# name: test_all_sensor_entities[sensor.intellifire_local_connectivity-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.intellifire_local_connectivity',
'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': 'Local connectivity',
'platform': 'intellifire',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'local_connectivity',
'unique_id': 'local_connectivity_mock_serial',
'unit_of_measurement': None,
})
# ---
# name: test_all_sensor_entities[sensor.intellifire_local_connectivity-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by unpublished Intellifire API',
'friendly_name': 'IntelliFire Local connectivity',
}),
'context': <ANY>,
'entity_id': 'sensor.intellifire_local_connectivity',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'True',
})
# ---
# name: test_all_sensor_entities[sensor.intellifire_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.intellifire_none',
'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': None,
'platform': 'intellifire',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'local_connectivity',
'unique_id': 'local_connectivity_mock_serial',
'unit_of_measurement': None,
})
# ---
# name: test_all_sensor_entities[sensor.intellifire_none-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by unpublished Intellifire API',
'friendly_name': 'IntelliFire None',
}),
'context': <ANY>,
'entity_id': 'sensor.intellifire_none',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'True',
})
# ---
# name: test_all_sensor_entities[sensor.intellifire_target_temperature-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@ -1162,58 +1162,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.cold_water_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.cold_water_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#8-12:34:56:00:16:0e#8-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.cold_water_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Cold water Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.cold_water_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.consumption_meter_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -1412,58 +1360,6 @@
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.ecocompteur_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.ecocompteur_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e-12:34:56:00:16:0e-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.ecocompteur_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Écocompteur Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.ecocompteur_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.gas_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -1511,58 +1407,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.gas_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.gas_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#6-12:34:56:00:16:0e#6-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.gas_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Gas Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.gas_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.home_avg_atmospheric_pressure-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -3260,58 +3104,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.hot_water_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.hot_water_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#7-12:34:56:00:16:0e#7-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.hot_water_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Hot water Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.hot_water_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.kitchen_atmospheric_pressure-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -3899,58 +3691,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.line_1_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.line_1_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#0-12:34:56:00:16:0e#0-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.line_1_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Line 1 Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.line_1_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.line_2_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -3998,58 +3738,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.line_2_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.line_2_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#1-12:34:56:00:16:0e#1-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.line_2_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Line 2 Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.line_2_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.line_3_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -4097,58 +3785,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.line_3_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.line_3_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#2-12:34:56:00:16:0e#2-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.line_3_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Line 3 Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.line_3_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.line_4_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -4196,58 +3832,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.line_4_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.line_4_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#3-12:34:56:00:16:0e#3-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.line_4_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Line 4 Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.line_4_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.line_5_none-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -4295,58 +3879,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.line_5_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.line_5_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#4-12:34:56:00:16:0e#4-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.line_5_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Line 5 Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.line_5_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.livingroom_atmospheric_pressure-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -5625,58 +5157,6 @@
'state': 'True',
})
# ---
# name: test_entity[sensor.total_power-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.total_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'netatmo',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': '12:34:56:00:16:0e#5-12:34:56:00:16:0e#5-power',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_entity[sensor.total_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by Netatmo',
'device_class': 'power',
'friendly_name': 'Total Power',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.total_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'unavailable',
})
# ---
# name: test_entity[sensor.valve1_battery-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@ -143,51 +143,3 @@
'state': 'closed',
})
# ---
# name: test_covers[cover.test_garage_4-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'cover',
'entity_category': None,
'entity_id': 'cover.test_garage_4',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <CoverDeviceClass.GARAGE: 'garage'>,
'original_icon': None,
'original_name': None,
'platform': 'linear_garage_door',
'previous_unique_id': None,
'supported_features': <CoverEntityFeature: 3>,
'translation_key': None,
'unique_id': 'test4-GDO',
'unit_of_measurement': None,
})
# ---
# name: test_covers[cover.test_garage_4-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'garage',
'friendly_name': 'Test Garage 4',
'supported_features': <CoverEntityFeature: 3>,
}),
'context': <ANY>,
'entity_id': 'cover.test_garage_4',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'closing',
})
# ---

View File

@ -109,115 +109,3 @@
'state': 'off',
})
# ---
# name: test_data[light.test_garage_3_light-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'supported_color_modes': list([
<ColorMode.BRIGHTNESS: 'brightness'>,
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'light',
'entity_category': None,
'entity_id': 'light.test_garage_3_light',
'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': 'Light',
'platform': 'linear_garage_door',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'light',
'unique_id': 'test3-Light',
'unit_of_measurement': None,
})
# ---
# name: test_data[light.test_garage_3_light-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': None,
'color_mode': None,
'friendly_name': 'Test Garage 3 Light',
'supported_color_modes': list([
<ColorMode.BRIGHTNESS: 'brightness'>,
]),
'supported_features': <LightEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'light.test_garage_3_light',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_data[light.test_garage_4_light-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': dict({
'supported_color_modes': list([
<ColorMode.BRIGHTNESS: 'brightness'>,
]),
}),
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'light',
'entity_category': None,
'entity_id': 'light.test_garage_4_light',
'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': 'Light',
'platform': 'linear_garage_door',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'light',
'unique_id': 'test4-Light',
'unit_of_measurement': None,
})
# ---
# name: test_data[light.test_garage_4_light-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'brightness': 255,
'color_mode': <ColorMode.BRIGHTNESS: 'brightness'>,
'friendly_name': 'Test Garage 4 Light',
'supported_color_modes': list([
<ColorMode.BRIGHTNESS: 'brightness'>,
]),
'supported_features': <LightEntityFeature: 0>,
}),
'context': <ANY>,
'entity_id': 'light.test_garage_4_light',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---

File diff suppressed because it is too large Load Diff

View File

@ -341,39 +341,6 @@
'state': '11',
})
# ---
# name: test_states[sensor.front_door_wi_fi_signal_category-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': <RegistryEntryDisabler.INTEGRATION: 'integration'>,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.front_door_wi_fi_signal_category',
'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': 'Wi-Fi signal category',
'platform': 'ring',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'wifi_signal_category',
'unique_id': '987654-wifi_signal_category',
'unit_of_measurement': None,
})
# ---
# name: test_states[sensor.front_door_wifi_signal_category-entry]
EntityRegistryEntrySnapshot({
'aliases': set({

View File

@ -47,54 +47,6 @@
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.investments_dr_evil_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.investments_dr_evil_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-4k5l6m7n-8o9p-1q2r-3s4t_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.investments_dr_evil_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Investments Dr Evil Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.investments_dr_evil_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.investments_my_checking_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -143,54 +95,6 @@
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.investments_my_checking_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.investments_my_checking_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-1k2l3m4n-5o6p-7q8r-9s0t_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.investments_my_checking_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Investments My Checking Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.investments_my_checking_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.investments_nerdcorp_series_b_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -239,54 +143,6 @@
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.investments_nerdcorp_series_b_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.investments_nerdcorp_series_b_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-5k6l7m8n-9o0p-1q2r-3s4t_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.investments_nerdcorp_series_b_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Investments NerdCorp Series B Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.investments_nerdcorp_series_b_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_castle_mortgage_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -335,54 +191,6 @@
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_castle_mortgage_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.mythical_randomsavings_castle_mortgage_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-7a8b9c0d-1e2f-3g4h-5i6j_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_castle_mortgage_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Mythical RandomSavings Castle Mortgage Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.mythical_randomsavings_castle_mortgage_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_unicorn_pot_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -431,54 +239,6 @@
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_unicorn_pot_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.mythical_randomsavings_unicorn_pot_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-6a7b8c9d-0e1f-2g3h-4i5j_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.mythical_randomsavings_unicorn_pot_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Mythical RandomSavings Unicorn Pot Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.mythical_randomsavings_unicorn_pot_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.random_bank_costco_anywhere_visa_r_card_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -527,54 +287,6 @@
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.random_bank_costco_anywhere_visa_r_card_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.random_bank_costco_anywhere_visa_r_card_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-3a4b5c6d-7e8f-9g0h-1i2j_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.random_bank_costco_anywhere_visa_r_card_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'Random Bank Costco Anywhere Visa® Card Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.random_bank_costco_anywhere_visa_r_card_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_prime_savings_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -623,54 +335,6 @@
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_prime_savings_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.the_bank_of_go_prime_savings_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-2a3b4c5d-6e7f-8g9h-0i1j_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_prime_savings_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'The Bank of Go PRIME SAVINGS Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.the_bank_of_go_prime_savings_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_the_bank_possible_error-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
@ -719,51 +383,3 @@
'state': 'on',
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_the_bank_problem-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.the_bank_of_go_the_bank_problem',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.PROBLEM: 'problem'>,
'original_icon': None,
'original_name': 'Problem',
'platform': 'simplefin',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'possible_error',
'unique_id': 'account_ACT-1a2b3c4d-5e6f-7g8h-9i0j_possible_error',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[binary_sensor.the_bank_of_go_the_bank_problem-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'attribution': 'Data provided by SimpleFIN API',
'device_class': 'problem',
'friendly_name': 'The Bank of Go The Bank Problem',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.the_bank_of_go_the_bank_problem',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---

View File

@ -1,73 +0,0 @@
# serializer version: 1
# name: test_migrate_process_sensor[after_migration]
list([
ConfigEntrySnapshot({
'data': dict({
}),
'disabled_by': None,
'domain': 'systemmonitor',
'entry_id': <ANY>,
'minor_version': 2,
'options': dict({
'binary_sensor': dict({
'process': list([
'python3',
'pip',
]),
}),
'resources': list([
'disk_use_percent_/',
'disk_use_percent_/home/notexist/',
'memory_free_',
'network_out_eth0',
'process_python3',
]),
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'user',
'title': 'System Monitor',
'unique_id': None,
'version': 1,
}),
])
# ---
# name: test_migrate_process_sensor[before_migration]
list([
ConfigEntrySnapshot({
'data': dict({
}),
'disabled_by': None,
'domain': 'systemmonitor',
'entry_id': <ANY>,
'minor_version': 2,
'options': dict({
'binary_sensor': dict({
'process': list([
'python3',
'pip',
]),
}),
'resources': list([
'disk_use_percent_/',
'disk_use_percent_/home/notexist/',
'memory_free_',
'network_out_eth0',
'process_python3',
]),
'sensor': dict({
'process': list([
'python3',
'pip',
]),
}),
}),
'pref_disable_new_entities': False,
'pref_disable_polling': False,
'source': 'user',
'title': 'System Monitor',
'unique_id': None,
'version': 1,
}),
])
# ---

View File

@ -286,53 +286,6 @@
'unit_of_measurement': None,
})
# ---
# name: test_states[binary_sensor.my_device_update-entry]
EntityRegistryEntrySnapshot({
'aliases': set({
}),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'binary_sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'binary_sensor.my_device_update',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'options': dict({
}),
'original_device_class': <BinarySensorDeviceClass.UPDATE: 'update'>,
'original_icon': None,
'original_name': 'Update',
'platform': 'tplink',
'previous_unique_id': None,
'supported_features': 0,
'translation_key': 'update_available',
'unique_id': '123456789ABCDEFGH_update_available',
'unit_of_measurement': None,
})
# ---
# name: test_states[binary_sensor.my_device_update-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'update',
'friendly_name': 'my_device Update',
}),
'context': <ANY>,
'entity_id': 'binary_sensor.my_device_update',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'off',
})
# ---
# name: test_states[my_device-entry]
DeviceRegistryEntrySnapshot({
'area_id': None,

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff