Add stick cleaner fixture to SmartThings (#166121)

This commit is contained in:
Joost Lekkerkerker
2026-03-21 16:57:26 +01:00
committed by GitHub
parent 16fb7ed21e
commit d0154e5019
6 changed files with 1029 additions and 0 deletions
+1
View File
@@ -74,6 +74,7 @@ DEVICE_FIXTURES = [
"da_wm_dw_01011",
"da_rvc_normal_000001",
"da_rvc_map_01011",
"da_vc_stick_01001",
"da_ks_microwave_0101x",
"da_ks_cooktop_000001",
"da_ks_cooktop_31001",
@@ -0,0 +1,426 @@
{
"components": {
"station": {
"samsungce.cleanStationStickStatus": {
"status": {
"value": "attached",
"timestamp": "2026-03-21T15:25:21.619Z"
}
},
"custom.disabledCapabilities": {
"disabledCapabilities": {
"value": ["samsungce.cleanStationUvCleaning"],
"timestamp": "2026-03-21T14:44:08.042Z"
}
},
"samsungce.cleanStationUvCleaning": {
"operatingState": {
"value": "ready",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"lastFinishedTime": {
"value": null
},
"uvcIntensive": {
"value": null
},
"operationTime": {
"value": null
},
"remainingTime": {
"value": null
}
},
"samsungce.stickCleanerDustBag": {
"supportedStatus": {
"value": ["full", "normal"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"usage": {
"value": 343,
"timestamp": "2026-03-21T15:25:35.951Z"
},
"status": {
"value": "normal",
"timestamp": "2026-03-21T14:44:06.339Z"
}
}
},
"main": {
"custom.disabledComponents": {
"disabledComponents": {
"value": [],
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"powerConsumptionReport": {
"powerConsumption": {
"value": {
"energy": 4,
"deltaEnergy": 3,
"power": 0,
"powerEnergy": 0.0,
"persistedEnergy": 0,
"energySaved": 0,
"start": "2026-03-21T15:35:31Z",
"end": "2026-03-21T15:41:41Z"
},
"timestamp": "2026-03-21T15:41:41.889Z"
}
},
"samsungce.stickCleanerStatus": {
"operatingState": {
"value": "ready",
"timestamp": "2026-03-21T15:25:35.978Z"
}
},
"refresh": {},
"samsungce.notification": {
"supportedActionSettings": {
"value": [
{
"action": "stop",
"supportedSettings": ["on", "off"]
}
],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"actionSetting": {
"value": {
"stop": {
"setting": "on"
}
},
"timestamp": "2026-03-21T14:50:31.556Z"
},
"supportedContexts": {
"value": ["incomingCall", "messageReceived"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"supportCustomContent": {
"value": false,
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"samsungce.stickCleanerDustbinStatus": {
"operatingState": {
"value": "ready",
"timestamp": "2026-03-21T15:25:35.978Z"
},
"lastEmptiedTime": {
"value": "2026-03-21T15:25:00Z",
"timestamp": "2026-03-21T15:25:35.978Z"
}
},
"battery": {
"quantity": {
"value": null
},
"battery": {
"value": 80,
"unit": "%",
"timestamp": "2026-03-21T15:41:41.889Z"
},
"type": {
"value": null
}
},
"execute": {
"data": {
"value": null
}
},
"samsungce.deviceIdentification": {
"micomAssayCode": {
"value": "50025842",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"modelName": {
"value": null
},
"serialNumber": {
"value": null
},
"serialNumberExtra": {
"value": null
},
"releaseCountry": {
"value": null
},
"modelClassificationCode": {
"value": "80030200001711000802000000000000",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"description": {
"value": "A-VSWW-TP1-23-VS9700",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"releaseYear": {
"value": null
},
"binaryId": {
"value": "A-VSWW-TP1-23-VS9700",
"timestamp": "2026-03-21T15:41:41.888Z"
}
},
"sec.wifiConfiguration": {
"autoReconnection": {
"value": true,
"timestamp": "2026-03-21T14:44:06.339Z"
},
"minVersion": {
"value": "1.0",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"supportedWiFiFreq": {
"value": ["2.4G"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"supportedAuthType": {
"value": ["OPEN", "WEP", "WPA-PSK", "WPA2-PSK", "SAE"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"protocolType": {
"value": ["helper_hotspot", "ble_ocf"],
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"samsungce.selfCheck": {
"result": {
"value": "failed",
"timestamp": "2026-03-21T15:25:48.370Z"
},
"supportedActions": {
"value": ["start", "cancel"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"progress": {
"value": 100,
"unit": "%",
"timestamp": "2026-03-21T15:25:48.370Z"
},
"errors": {
"value": [
{
"code": "DA_VCS_E_001"
}
],
"timestamp": "2026-03-21T15:25:48.370Z"
},
"status": {
"value": "ready",
"timestamp": "2026-03-21T15:25:48.370Z"
}
},
"samsungce.softwareVersion": {
"versions": {
"value": [
{
"id": "0",
"swType": "Software",
"versionNumber": "25051400",
"description": "Version"
},
{
"id": "1",
"swType": "Firmware",
"versionNumber": "00258B23110300",
"description": "Version"
},
{
"id": "2",
"swType": "Firmware",
"versionNumber": "00253B23070700",
"description": "Version"
}
],
"timestamp": "2026-03-21T14:50:31.808Z"
}
},
"ocf": {
"st": {
"value": null
},
"mndt": {
"value": null
},
"mnfv": {
"value": "A-VSWW-TP1-23-VS9700_51250514",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnhw": {
"value": "Realtek",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"di": {
"value": "e1f93c0c-6fe0-c65a-a314-c8f7b163c86b",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnsl": {
"value": "http://www.samsung.com",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"dmv": {
"value": "1.2.1",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"n": {
"value": "[vacuum] Samsung",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnmo": {
"value": "A-VSWW-TP1-23-VS9700|50025842|80030200001711000802000000000000",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"vid": {
"value": "DA-VC-STICK-01001",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnmn": {
"value": "Samsung Electronics",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnml": {
"value": "http://www.samsung.com",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnpv": {
"value": "SYSTEM 2.0",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"mnos": {
"value": "TizenRT 4.0",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"pi": {
"value": "e1f93c0c-6fe0-c65a-a314-c8f7b163c86b",
"timestamp": "2026-03-21T14:50:07.585Z"
},
"icv": {
"value": "core.1.1.0",
"timestamp": "2026-03-21T14:50:07.585Z"
}
},
"samsungce.stickCleanerStickStatus": {
"mode": {
"value": "none",
"timestamp": "2026-03-21T15:25:06.593Z"
},
"status": {
"value": "charging",
"timestamp": "2026-03-21T15:25:22.052Z"
},
"bleConnectionState": {
"value": "connected",
"timestamp": "2026-03-21T14:50:29.775Z"
}
},
"custom.disabledCapabilities": {
"disabledCapabilities": {
"value": ["sec.wifiConfiguration"],
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"samsungce.driverVersion": {
"versionNumber": {
"value": 25040101,
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"samsungce.softwareUpdate": {
"targetModule": {
"value": {},
"timestamp": "2026-03-21T14:44:08.245Z"
},
"otnDUID": {
"value": "BDCPH4AI7GMCS",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"lastUpdatedDate": {
"value": null
},
"availableModules": {
"value": [],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"newVersionAvailable": {
"value": false,
"timestamp": "2026-03-21T14:44:06.339Z"
},
"operatingState": {
"value": "none",
"timestamp": "2026-03-21T14:44:08.245Z"
},
"progress": {
"value": 0,
"unit": "%",
"timestamp": "2026-03-21T14:50:09.045Z"
}
},
"sec.diagnosticsInformation": {
"logType": {
"value": ["errCode", "dump"],
"timestamp": "2026-03-21T14:44:06.339Z"
},
"endpoint": {
"value": "SSM",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"minVersion": {
"value": "3.0",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"signinPermission": {
"value": null
},
"setupId": {
"value": "VS2",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"protocolType": {
"value": "ble_ocf",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"tsId": {
"value": "DA01",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"mnId": {
"value": "0AJT",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"dumpType": {
"value": "file",
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"custom.deviceReportStateConfiguration": {
"reportStateRealtimePeriod": {
"value": null
},
"reportStateRealtime": {
"value": {
"state": "enabled",
"duration": 10,
"unit": "minute"
},
"timestamp": "2026-03-21T14:44:42.985Z"
},
"reportStatePeriod": {
"value": "enabled",
"timestamp": "2026-03-21T14:44:06.339Z"
}
},
"samsungce.lamp": {
"brightnessLevel": {
"value": "on",
"timestamp": "2026-03-21T14:44:06.339Z"
},
"supportedBrightnessLevel": {
"value": ["on", "off"],
"timestamp": "2026-03-21T14:44:06.339Z"
}
}
}
}
}
@@ -0,0 +1,168 @@
{
"items": [
{
"deviceId": "e1f93c0c-6fe0-c65a-a314-c8f7b163c86b",
"name": "[vacuum] Samsung",
"label": "Stick vacuum",
"manufacturerName": "Samsung Electronics",
"presentationId": "DA-VC-STICK-01001",
"deviceManufacturerCode": "Samsung Electronics",
"locationId": "03f25476-ce87-4f94-b153-03d40451dee0",
"ownerId": "62619912-9710-ee72-bdf7-6e3910560913",
"roomId": "2f820695-73c1-4d43-8ee9-7c6a07feeb9a",
"deviceTypeName": "x.com.st.d.stickcleaner",
"components": [
{
"id": "main",
"label": "main",
"capabilities": [
{
"id": "ocf",
"version": 1
},
{
"id": "execute",
"version": 1
},
{
"id": "powerConsumptionReport",
"version": 1
},
{
"id": "refresh",
"version": 1
},
{
"id": "samsungce.deviceIdentification",
"version": 1
},
{
"id": "samsungce.driverVersion",
"version": 1
},
{
"id": "samsungce.stickCleanerStickStatus",
"version": 1
},
{
"id": "battery",
"version": 1
},
{
"id": "samsungce.lamp",
"version": 1
},
{
"id": "samsungce.notification",
"version": 1
},
{
"id": "samsungce.selfCheck",
"version": 1
},
{
"id": "samsungce.stickCleanerDustbinStatus",
"version": 1
},
{
"id": "samsungce.softwareUpdate",
"version": 1
},
{
"id": "samsungce.softwareVersion",
"version": 1
},
{
"id": "samsungce.stickCleanerStatus",
"version": 1
},
{
"id": "custom.deviceReportStateConfiguration",
"version": 1
},
{
"id": "custom.disabledComponents",
"version": 1
},
{
"id": "custom.disabledCapabilities",
"version": 1
},
{
"id": "sec.diagnosticsInformation",
"version": 1
},
{
"id": "sec.wifiConfiguration",
"version": 1
}
],
"categories": [
{
"name": "StickVacuumCleaner",
"categoryType": "manufacturer"
}
],
"optional": false
},
{
"id": "station",
"label": "station",
"capabilities": [
{
"id": "samsungce.stickCleanerDustBag",
"version": 1
},
{
"id": "samsungce.cleanStationStickStatus",
"version": 1
},
{
"id": "samsungce.cleanStationUvCleaning",
"version": 1
},
{
"id": "custom.disabledCapabilities",
"version": 1
}
],
"categories": [
{
"name": "Other",
"categoryType": "manufacturer"
}
],
"optional": false
}
],
"createTime": "2026-03-21T14:43:55.855Z",
"profile": {
"id": "21c15481-d69b-34a9-86a6-bcdb478a68cb"
},
"ocf": {
"ocfDeviceType": "x.com.st.d.stickcleaner",
"name": "[vacuum] Samsung",
"specVersion": "core.1.1.0",
"verticalDomainSpecVersion": "1.2.1",
"manufacturerName": "Samsung Electronics",
"modelNumber": "A-VSWW-TP1-23-VS9700|50025842|80030200001711000802000000000000",
"platformVersion": "SYSTEM 2.0",
"platformOS": "TizenRT 4.0",
"hwVersion": "Realtek",
"firmwareVersion": "A-VSWW-TP1-23-VS9700_51250514",
"vendorId": "DA-VC-STICK-01001",
"vendorResourceClientServerVersion": "Realtek Release 250514",
"lastSignupTime": "2026-03-21T14:43:55.796850354Z",
"transferCandidate": true,
"additionalAuthCodeRequired": false,
"modelCode": "VS28C9784QK/WA"
},
"type": "OCF",
"restrictionTier": 0,
"allowed": null,
"executionContext": "CLOUD",
"relationships": []
}
],
"_links": {}
}
@@ -1239,6 +1239,37 @@
'via_device_id': None,
})
# ---
# name: test_devices[da_vc_stick_01001]
DeviceRegistryEntrySnapshot({
'area_id': None,
'config_entries': <ANY>,
'config_entries_subentries': <ANY>,
'configuration_url': 'https://account.smartthings.com',
'connections': set({
}),
'disabled_by': None,
'entry_type': None,
'hw_version': 'Realtek',
'id': <ANY>,
'identifiers': set({
tuple(
'smartthings',
'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b',
),
}),
'labels': set({
}),
'manufacturer': 'Samsung Electronics',
'model': 'A-VSWW-TP1-23-VS9700',
'model_id': 'VS28C9784QK/WA',
'name': 'Stick vacuum',
'name_by_user': None,
'primary_config_entry': <ANY>,
'serial_number': None,
'sw_version': 'A-VSWW-TP1-23-VS9700_51250514',
'via_device_id': None,
})
# ---
# name: test_devices[da_wm_dw_000001]
DeviceRegistryEntrySnapshot({
'area_id': 'theater',
@@ -851,6 +851,65 @@
'state': 'medium',
})
# ---
# name: test_all_entities[da_vc_stick_01001][select.stick_vacuum_lamp-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'options': list([
'on',
'off',
]),
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'select',
'entity_category': <EntityCategory.CONFIG: 'config'>,
'entity_id': 'select.stick_vacuum_lamp',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Lamp',
'options': dict({
}),
'original_device_class': None,
'original_icon': None,
'original_name': 'Lamp',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'lamp',
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_samsungce.lamp_brightnessLevel_brightnessLevel',
'unit_of_measurement': None,
})
# ---
# name: test_all_entities[da_vc_stick_01001][select.stick_vacuum_lamp-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'friendly_name': 'Stick vacuum Lamp',
'options': list([
'on',
'off',
]),
}),
'context': <ANY>,
'entity_id': 'select.stick_vacuum_lamp',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': 'on',
})
# ---
# name: test_all_entities[da_wm_dw_000001][select.dishwasher-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
@@ -13340,6 +13340,350 @@
'state': 'room',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_battery-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': None,
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
'entity_id': 'sensor.stick_vacuum_battery',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Battery',
'options': dict({
}),
'original_device_class': <SensorDeviceClass.BATTERY: 'battery'>,
'original_icon': None,
'original_name': 'Battery',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_battery_battery_battery',
'unit_of_measurement': '%',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_battery-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'battery',
'friendly_name': 'Stick vacuum Battery',
'unit_of_measurement': '%',
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_battery',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '80',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.stick_vacuum_energy',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Energy',
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_powerConsumptionReport_powerConsumption_energy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Stick vacuum Energy',
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_energy',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.004',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_difference-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.stick_vacuum_energy_difference',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Energy difference',
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy difference',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'energy_difference',
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_powerConsumptionReport_powerConsumption_deltaEnergy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_difference-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Stick vacuum Energy difference',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_energy_difference',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.003',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_saved-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.stick_vacuum_energy_saved',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Energy saved',
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Energy saved',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'energy_saved',
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_powerConsumptionReport_powerConsumption_energySaved_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_energy_saved-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Stick vacuum Energy saved',
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_energy_saved',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.0',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.stick_vacuum_power',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Power',
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.POWER: 'power'>,
'original_icon': None,
'original_name': 'Power',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': None,
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_powerConsumptionReport_powerConsumption_power_meter',
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'power',
'friendly_name': 'Stick vacuum Power',
'power_consumption_end': '2026-03-21T15:41:41Z',
'power_consumption_start': '2026-03-21T15:35:31Z',
'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>,
'unit_of_measurement': <UnitOfPower.WATT: 'W'>,
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_power',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0',
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power_energy-entry]
EntityRegistryEntrySnapshot({
'aliases': list([
None,
]),
'area_id': None,
'capabilities': dict({
'state_class': <SensorStateClass.TOTAL: 'total'>,
}),
'config_entry_id': <ANY>,
'config_subentry_id': <ANY>,
'device_class': None,
'device_id': <ANY>,
'disabled_by': None,
'domain': 'sensor',
'entity_category': None,
'entity_id': 'sensor.stick_vacuum_power_energy',
'has_entity_name': True,
'hidden_by': None,
'icon': None,
'id': <ANY>,
'labels': set({
}),
'name': None,
'object_id_base': 'Power energy',
'options': dict({
'sensor': dict({
'suggested_display_precision': 2,
}),
}),
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
'original_icon': None,
'original_name': 'Power energy',
'platform': 'smartthings',
'previous_unique_id': None,
'suggested_object_id': None,
'supported_features': 0,
'translation_key': 'power_energy',
'unique_id': 'e1f93c0c-6fe0-c65a-a314-c8f7b163c86b_main_powerConsumptionReport_powerConsumption_powerEnergy_meter',
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
})
# ---
# name: test_all_entities[da_vc_stick_01001][sensor.stick_vacuum_power_energy-state]
StateSnapshot({
'attributes': ReadOnlyDict({
'device_class': 'energy',
'friendly_name': 'Stick vacuum Power energy',
'state_class': <SensorStateClass.TOTAL: 'total'>,
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
}),
'context': <ANY>,
'entity_id': 'sensor.stick_vacuum_power_energy',
'last_changed': <ANY>,
'last_reported': <ANY>,
'last_updated': <ANY>,
'state': '0.0',
})
# ---
# name: test_all_entities[da_wm_dw_000001][sensor.dishwasher_completion_time-entry]
EntityRegistryEntrySnapshot({
'aliases': list([