From 2a2dbf60cb536dc210f5efe7f80f5b992193f64f Mon Sep 17 00:00:00 2001 From: Erwin Douna Date: Sat, 17 Oct 2026 12:30:22 +0200 Subject: [PATCH] Add more Ecovacs lifespans (#186986) --- homeassistant/components/ecovacs/const.py | 6 + homeassistant/components/ecovacs/icons.json | 36 + homeassistant/components/ecovacs/strings.json | 39 + .../ecovacs/snapshots/test_button.ambr | 750 ++++++++++ .../ecovacs/snapshots/test_sensor.ambr | 1217 +++++++++++++++++ tests/components/ecovacs/test_button.py | 64 +- tests/components/ecovacs/test_init.py | 2 +- tests/components/ecovacs/test_sensor.py | 35 +- 8 files changed, 2146 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/ecovacs/const.py b/homeassistant/components/ecovacs/const.py index b365e34c5a13..f2e08d2ff5c7 100644 --- a/homeassistant/components/ecovacs/const.py +++ b/homeassistant/components/ecovacs/const.py @@ -20,13 +20,19 @@ SUPPORTED_LIFESPANS = ( LifeSpan.BRUSH, LifeSpan.CLEANING_SOLUTION, LifeSpan.DUST_BAG, + LifeSpan.DUST_BUCKET, + LifeSpan.DUST_CASE_HEAP, + LifeSpan.DUST_CONTAINER_FILTER, LifeSpan.FILTER, LifeSpan.HAND_FILTER, + LifeSpan.HEAVY_DUTY_CLEANING_SOLUTION, LifeSpan.LENS_BRUSH, + LifeSpan.MOP_WASHING_TRAY, LifeSpan.ROUND_MOP, LifeSpan.SEWAGE_BOX, LifeSpan.SIDE_BRUSH, LifeSpan.STATION_FILTER, + LifeSpan.STRAINER, LifeSpan.TRIMMER_BRUSH, LifeSpan.UNIT_CARE, LifeSpan.UV_SANITIZER, diff --git a/homeassistant/components/ecovacs/icons.json b/homeassistant/components/ecovacs/icons.json index 15d32b02d368..2d88e714cde5 100644 --- a/homeassistant/components/ecovacs/icons.json +++ b/homeassistant/components/ecovacs/icons.json @@ -27,15 +27,30 @@ "reset_lifespan_dust_bag": { "default": "mdi:delete-outline" }, + "reset_lifespan_dust_bucket": { + "default": "mdi:bucket-outline" + }, + "reset_lifespan_dust_case_heap": { + "default": "mdi:air-filter" + }, + "reset_lifespan_dust_container_filter": { + "default": "mdi:air-filter" + }, "reset_lifespan_filter": { "default": "mdi:air-filter" }, "reset_lifespan_hand_filter": { "default": "mdi:air-filter" }, + "reset_lifespan_heavy_duty_cleaning_solution": { + "default": "mdi:flask-outline" + }, "reset_lifespan_lens_brush": { "default": "mdi:broom" }, + "reset_lifespan_mop_washing_tray": { + "default": "mdi:tray" + }, "reset_lifespan_round_mop": { "default": "mdi:broom" }, @@ -48,6 +63,9 @@ "reset_lifespan_station_filter": { "default": "mdi:air-filter" }, + "reset_lifespan_strainer": { + "default": "mdi:filter-outline" + }, "reset_lifespan_trimmer_brush": { "default": "mdi:broom" }, @@ -125,15 +143,30 @@ "lifespan_dust_bag": { "default": "mdi:delete-outline" }, + "lifespan_dust_bucket": { + "default": "mdi:bucket-outline" + }, + "lifespan_dust_case_heap": { + "default": "mdi:air-filter" + }, + "lifespan_dust_container_filter": { + "default": "mdi:air-filter" + }, "lifespan_filter": { "default": "mdi:air-filter" }, "lifespan_hand_filter": { "default": "mdi:air-filter" }, + "lifespan_heavy_duty_cleaning_solution": { + "default": "mdi:flask-outline" + }, "lifespan_lens_brush": { "default": "mdi:broom" }, + "lifespan_mop_washing_tray": { + "default": "mdi:tray" + }, "lifespan_round_mop": { "default": "mdi:broom" }, @@ -146,6 +179,9 @@ "lifespan_station_filter": { "default": "mdi:air-filter" }, + "lifespan_strainer": { + "default": "mdi:filter-outline" + }, "lifespan_trimmer_brush": { "default": "mdi:broom" }, diff --git a/homeassistant/components/ecovacs/strings.json b/homeassistant/components/ecovacs/strings.json index ffab59149e15..a6e3ef88303d 100644 --- a/homeassistant/components/ecovacs/strings.json +++ b/homeassistant/components/ecovacs/strings.json @@ -74,15 +74,30 @@ "reset_lifespan_dust_bag": { "name": "Reset dust bag lifespan" }, + "reset_lifespan_dust_bucket": { + "name": "Reset dust bucket lifespan" + }, + "reset_lifespan_dust_case_heap": { + "name": "Reset dust bin filter lifespan" + }, + "reset_lifespan_dust_container_filter": { + "name": "Reset dust container filter lifespan" + }, "reset_lifespan_filter": { "name": "Reset filter lifespan" }, "reset_lifespan_hand_filter": { "name": "Reset hand filter lifespan" }, + "reset_lifespan_heavy_duty_cleaning_solution": { + "name": "Reset heavy-duty cleaning solution lifespan" + }, "reset_lifespan_lens_brush": { "name": "Reset lens brush lifespan" }, + "reset_lifespan_mop_washing_tray": { + "name": "Reset mop washing tray lifespan" + }, "reset_lifespan_round_mop": { "name": "Reset round mop lifespan" }, @@ -95,6 +110,9 @@ "reset_lifespan_station_filter": { "name": "Reset station filter lifespan" }, + "reset_lifespan_strainer": { + "name": "Reset strainer lifespan" + }, "reset_lifespan_trimmer_brush": { "name": "Reset edge trimmer brush lifespan" }, @@ -210,18 +228,33 @@ "lifespan_dust_bag": { "name": "Dust bag lifespan" }, + "lifespan_dust_bucket": { + "name": "Dust bucket lifespan" + }, + "lifespan_dust_case_heap": { + "name": "Dust bin filter lifespan" + }, + "lifespan_dust_container_filter": { + "name": "Dust container filter lifespan" + }, "lifespan_filter": { "name": "Filter lifespan" }, "lifespan_hand_filter": { "name": "Hand filter lifespan" }, + "lifespan_heavy_duty_cleaning_solution": { + "name": "Heavy-duty cleaning solution lifespan" + }, "lifespan_lens_brush": { "name": "Lens brush lifespan" }, "lifespan_main_brush": { "name": "[%key:component::ecovacs::entity::sensor::lifespan_brush::name%]" }, + "lifespan_mop_washing_tray": { + "name": "Mop washing tray lifespan" + }, "lifespan_round_mop": { "name": "Round mop lifespan" }, @@ -231,6 +264,12 @@ "lifespan_side_brush": { "name": "Side brush lifespan" }, + "lifespan_station_filter": { + "name": "Station filter lifespan" + }, + "lifespan_strainer": { + "name": "Strainer lifespan" + }, "lifespan_trimmer_brush": { "name": "Edge trimmer brush lifespan" }, diff --git a/tests/components/ecovacs/snapshots/test_button.ambr b/tests/components/ecovacs/snapshots/test_button.ambr index 5eae800a85bb..3a909ad29d4a 100644 --- a/tests/components/ecovacs/snapshots/test_button.ambr +++ b/tests/components/ecovacs/snapshots/test_button.ambr @@ -899,6 +899,756 @@ 'state': '2024-01-01T00:00:00+00:00', }) # --- +# name: test_buttons[twunby][button.t90_pro_omni_dry_mop:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': None, + 'entity_id': 'button.t90_pro_omni_dry_mop', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Dry mop', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Dry mop', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'station_action_dry_mop', + 'unique_id': '8516fbb1-17f1-4194-0000003_station_action_dry_mop', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_dry_mop:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Dry mop', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_dry_mop', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_empty_dustbin:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': None, + 'entity_id': 'button.t90_pro_omni_empty_dustbin', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Empty dustbin', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Empty dustbin', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'station_action_empty_dustbin', + 'unique_id': '8516fbb1-17f1-4194-0000003_station_action_empty_dustbin', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_empty_dustbin:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Empty dustbin', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_empty_dustbin', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_relocate:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_relocate', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Relocate', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Relocate', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'relocate', + 'unique_id': '8516fbb1-17f1-4194-0000003_relocate', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_relocate:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Relocate', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_relocate', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_cleaning_solution_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_cleaning_solution_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset cleaning solution lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset cleaning solution lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_cleaning_solution', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_cleaning_solution', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_cleaning_solution_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset cleaning solution lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_cleaning_solution_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_bag_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_dust_bag_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset dust bag lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset dust bag lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_dust_bag', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_dust_bag', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_bag_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset dust bag lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_dust_bag_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_bucket_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_dust_bucket_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset dust bucket lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset dust bucket lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_dust_bucket', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_dust_bucket', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_bucket_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset dust bucket lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_dust_bucket_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_container_filter_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_dust_container_filter_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset dust container filter lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset dust container filter lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_dust_container_filter', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_dust_container_filter', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_dust_container_filter_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset dust container filter lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_dust_container_filter_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_filter_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_filter_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset filter lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset filter lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_filter', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_filter', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_filter_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset filter lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_filter_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_heavy_duty_cleaning_solution_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_heavy_duty_cleaning_solution_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset heavy-duty cleaning solution lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset heavy-duty cleaning solution lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_heavy_duty_cleaning_solution', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_heavy_duty_cleaning_solution', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_heavy_duty_cleaning_solution_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset heavy-duty cleaning solution lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_heavy_duty_cleaning_solution_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_main_brush_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_main_brush_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset main brush lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset main brush lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_brush', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_brush', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_main_brush_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset main brush lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_main_brush_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_mop_washing_tray_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_mop_washing_tray_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset mop washing tray lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset mop washing tray lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_mop_washing_tray', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_mop_washing_tray', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_mop_washing_tray_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset mop washing tray lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_mop_washing_tray_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_round_mop_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_round_mop_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset round mop lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset round mop lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_round_mop', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_round_mop', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_round_mop_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset round mop lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_round_mop_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_side_brush_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_side_brush_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset side brush lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset side brush lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_side_brush', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_side_brush', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_side_brush_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset side brush lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_side_brush_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_strainer_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_strainer_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset strainer lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset strainer lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_strainer', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_strainer', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_strainer_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset strainer lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_strainer_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_unit_care_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'button', + 'entity_category': , + 'entity_id': 'button.t90_pro_omni_reset_unit_care_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Reset unit care lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Reset unit care lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'reset_lifespan_unit_care', + 'unique_id': '8516fbb1-17f1-4194-0000003_reset_lifespan_unit_care', + 'unit_of_measurement': None, + }) +# --- +# name: test_buttons[twunby][button.t90_pro_omni_reset_unit_care_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Reset unit care lifespan', + }), + 'context': , + 'entity_id': 'button.t90_pro_omni_reset_unit_care_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '2024-01-01T00:00:00+00:00', + }) +# --- # name: test_buttons[yna5x1][button.ozmo_950_relocate:entity-registry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/ecovacs/snapshots/test_sensor.ambr b/tests/components/ecovacs/snapshots/test_sensor.ambr index c10410185513..e58758293ccf 100644 --- a/tests/components/ecovacs/snapshots/test_sensor.ambr +++ b/tests/components/ecovacs/snapshots/test_sensor.ambr @@ -2678,6 +2678,1223 @@ 'state': 'Testnetwork', }) # --- +# name: test_sensors[twunby][sensor.t90_pro_omni_area_cleaned:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_area_cleaned', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Area cleaned', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Area cleaned', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'stats_area', + 'unique_id': '8516fbb1-17f1-4194-0000003_stats_area', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_area_cleaned:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'area', + : 'T90 PRO OMNI Area cleaned', + : , + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_area_cleaned', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '10', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_battery:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_battery', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Battery', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Battery', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': '8516fbb1-17f1-4194-0000003_battery_level', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_battery:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'battery', + : 'T90 PRO OMNI Battery', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_battery', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '100', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_cleaning_duration:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_cleaning_duration', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Cleaning duration', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Cleaning duration', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'stats_time', + 'unique_id': '8516fbb1-17f1-4194-0000003_stats_time', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_cleaning_duration:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'duration', + : 'T90 PRO OMNI Cleaning duration', + : , + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_cleaning_duration', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '5.0', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_cleaning_solution_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_cleaning_solution_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Cleaning solution lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Cleaning solution lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_cleaning_solution', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_cleaning_solution', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_cleaning_solution_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Cleaning solution lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_cleaning_solution_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '100', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_bag_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_dust_bag_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Dust bag lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Dust bag lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_dust_bag', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_dust_bag', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_bag_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Dust bag lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_dust_bag_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_bucket_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_dust_bucket_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Dust bucket lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Dust bucket lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_dust_bucket', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_dust_bucket', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_bucket_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Dust bucket lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_dust_bucket_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '90', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_container_filter_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_dust_container_filter_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Dust container filter lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Dust container filter lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_dust_container_filter', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_dust_container_filter', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_dust_container_filter_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Dust container filter lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_dust_container_filter_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '70', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_error:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_error', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Error', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Error', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'error', + 'unique_id': '8516fbb1-17f1-4194-0000003_error', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_error:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'description': 'NoError: Robot is operational', + : 'T90 PRO OMNI Error', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_error', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '0', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_filter_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_filter_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Filter lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Filter lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_filter', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_filter', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_filter_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Filter lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_filter_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '56', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_heavy_duty_cleaning_solution_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_heavy_duty_cleaning_solution_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Heavy-duty cleaning solution lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Heavy-duty cleaning solution lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_heavy_duty_cleaning_solution', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_heavy_duty_cleaning_solution', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_heavy_duty_cleaning_solution_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Heavy-duty cleaning solution lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_heavy_duty_cleaning_solution_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '60', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_ip_address:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_ip_address', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'IP address', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'IP address', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'network_ip', + 'unique_id': '8516fbb1-17f1-4194-0000003_network_ip', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_ip_address:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI IP address', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_ip_address', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '192.168.0.10', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_main_brush_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_main_brush_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Main brush lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Main brush lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_brush', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_brush', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_main_brush_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Main brush lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_main_brush_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '80', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_mop_washing_tray_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_mop_washing_tray_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Mop washing tray lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Mop washing tray lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_mop_washing_tray', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_mop_washing_tray', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_mop_washing_tray_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Mop washing tray lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_mop_washing_tray_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '50', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_round_mop_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_round_mop_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Round mop lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Round mop lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_round_mop', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_round_mop', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_round_mop_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Round mop lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_round_mop_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_side_brush_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_side_brush_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Side brush lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Side brush lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_side_brush', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_side_brush', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_side_brush_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Side brush lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_side_brush_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '40', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_station_state:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : list([ + 'idle', + 'emptying_dustbin', + 'washing_mop', + 'drying_mop', + ]), + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_station_state', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Station state', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Station state', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'station_state', + 'unique_id': '8516fbb1-17f1-4194-0000003_station_state', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_station_state:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'enum', + : 'T90 PRO OMNI Station state', + : list([ + 'idle', + 'emptying_dustbin', + 'washing_mop', + 'drying_mop', + ]), + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_station_state', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'emptying_dustbin', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_strainer_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_strainer_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Strainer lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Strainer lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_strainer', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_strainer', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_strainer_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Strainer lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_strainer_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '30', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_area_cleaned:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_total_area_cleaned', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Total area cleaned', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Total area cleaned', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'total_stats_area', + 'unique_id': '8516fbb1-17f1-4194-0000003_total_stats_area', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_area_cleaned:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'area', + : 'T90 PRO OMNI Total area cleaned', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_total_area_cleaned', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '60', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_cleaning_duration:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_total_cleaning_duration', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Total cleaning duration', + 'options': dict({ + 'sensor': dict({ + 'suggested_display_precision': 2, + }), + 'sensor.private': dict({ + 'suggested_unit_of_measurement': , + }), + }), + 'original_device_class': , + 'original_icon': None, + 'original_name': 'Total cleaning duration', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'total_stats_time', + 'unique_id': '8516fbb1-17f1-4194-0000003_total_stats_time', + 'unit_of_measurement': , + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_cleaning_duration:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'duration', + : 'T90 PRO OMNI Total cleaning duration', + : , + : , + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_total_cleaning_duration', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '40.0', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_cleanings:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': dict({ + : , + }), + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': None, + 'entity_id': 'sensor.t90_pro_omni_total_cleanings', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Total cleanings', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Total cleanings', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'total_stats_cleanings', + 'unique_id': '8516fbb1-17f1-4194-0000003_total_stats_cleanings', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_total_cleanings:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Total cleanings', + : , + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_total_cleanings', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '123', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_unit_care_lifespan:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_unit_care_lifespan', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Unit care lifespan', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Unit care lifespan', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'lifespan_unit_care', + 'unique_id': '8516fbb1-17f1-4194-0000003_lifespan_unit_care', + 'unit_of_measurement': '%', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_unit_care_lifespan:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Unit care lifespan', + : '%', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_unit_care_lifespan', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_wi_fi_rssi:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_wi_fi_rssi', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Wi-Fi RSSI', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Wi-Fi RSSI', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'network_rssi', + 'unique_id': '8516fbb1-17f1-4194-0000003_network_rssi', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_wi_fi_rssi:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Wi-Fi RSSI', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_wi_fi_rssi', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': '-62', + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_wi_fi_ssid:entity-registry] + EntityRegistryEntrySnapshot({ + 'aliases': list([ + None, + ]), + 'area_id': None, + 'capabilities': None, + 'config_entry_id': , + 'config_subentry_id': , + 'device_class': None, + 'device_id': , + 'disabled_by': None, + 'domain': 'sensor', + 'entity_category': , + 'entity_id': 'sensor.t90_pro_omni_wi_fi_ssid', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Wi-Fi SSID', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': None, + 'original_name': 'Wi-Fi SSID', + 'platform': 'ecovacs', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': 'network_ssid', + 'unique_id': '8516fbb1-17f1-4194-0000003_network_ssid', + 'unit_of_measurement': None, + }) +# --- +# name: test_sensors[twunby][sensor.t90_pro_omni_wi_fi_ssid:state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + : 'T90 PRO OMNI Wi-Fi SSID', + }), + 'context': , + 'entity_id': 'sensor.t90_pro_omni_wi_fi_ssid', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'Testnetwork', + }) +# --- # name: test_sensors[yna5x1][sensor.ozmo_950_area_cleaned:entity-registry] EntityRegistryEntrySnapshot({ 'aliases': list([ diff --git a/tests/components/ecovacs/test_button.py b/tests/components/ecovacs/test_button.py index 2e1938adee6b..3a040fa80cee 100644 --- a/tests/components/ecovacs/test_button.py +++ b/tests/components/ecovacs/test_button.py @@ -133,8 +133,70 @@ def platforms() -> Platform | list[Platform]: ), ], ), + ( + "twunby", + [ + ("button.t90_pro_omni_relocate", SetRelocationState()), + ( + "button.t90_pro_omni_reset_main_brush_lifespan", + ResetLifeSpan(LifeSpan.BRUSH), + ), + ( + "button.t90_pro_omni_reset_cleaning_solution_lifespan", + ResetLifeSpan(LifeSpan.CLEANING_SOLUTION), + ), + ( + "button.t90_pro_omni_reset_dust_bag_lifespan", + ResetLifeSpan(LifeSpan.DUST_BAG), + ), + ( + "button.t90_pro_omni_reset_dust_bucket_lifespan", + ResetLifeSpan(LifeSpan.DUST_BUCKET), + ), + ( + "button.t90_pro_omni_reset_dust_container_filter_lifespan", + ResetLifeSpan(LifeSpan.DUST_CONTAINER_FILTER), + ), + ( + "button.t90_pro_omni_reset_filter_lifespan", + ResetLifeSpan(LifeSpan.FILTER), + ), + ( + "button.t90_pro_omni_reset_heavy_duty_cleaning_solution_lifespan", + ResetLifeSpan(LifeSpan.HEAVY_DUTY_CLEANING_SOLUTION), + ), + ( + "button.t90_pro_omni_reset_mop_washing_tray_lifespan", + ResetLifeSpan(LifeSpan.MOP_WASHING_TRAY), + ), + ( + "button.t90_pro_omni_reset_round_mop_lifespan", + ResetLifeSpan(LifeSpan.ROUND_MOP), + ), + ( + "button.t90_pro_omni_reset_side_brush_lifespan", + ResetLifeSpan(LifeSpan.SIDE_BRUSH), + ), + ( + "button.t90_pro_omni_reset_strainer_lifespan", + ResetLifeSpan(LifeSpan.STRAINER), + ), + ( + "button.t90_pro_omni_reset_unit_care_lifespan", + ResetLifeSpan(LifeSpan.UNIT_CARE), + ), + ( + "button.t90_pro_omni_dry_mop", + station_action.StationAction(StationAction.DRY_MOP), + ), + ( + "button.t90_pro_omni_empty_dustbin", + station_action.StationAction(StationAction.EMPTY_DUSTBIN), + ), + ], + ), ], - ids=["yna5x1", "5xu9h3", "qhe2o2", "9eamof"], + ids=["yna5x1", "5xu9h3", "qhe2o2", "9eamof", "twunby"], ) async def test_buttons( hass: HomeAssistant, diff --git a/tests/components/ecovacs/test_init.py b/tests/components/ecovacs/test_init.py index 49064f9079a9..46343880d706 100644 --- a/tests/components/ecovacs/test_init.py +++ b/tests/components/ecovacs/test_init.py @@ -250,7 +250,7 @@ async def test_devices_in_dr( [ ("yna5x1", 27), ("5xu9h3", 25), - ("twunby", 40), + ("twunby", 50), ("123", 3), ], ) diff --git a/tests/components/ecovacs/test_sensor.py b/tests/components/ecovacs/test_sensor.py index 2695f6fe7bd4..0780077c3dda 100644 --- a/tests/components/ecovacs/test_sensor.py +++ b/tests/components/ecovacs/test_sensor.py @@ -47,6 +47,11 @@ async def notify_events(hass: HomeAssistant, event_bus: EventBus): event_bus.notify(LifeSpanEvent(LifeSpan.SIDE_BRUSH, 40, 20 * 60)) event_bus.notify(LifeSpanEvent(LifeSpan.CLEANING_SOLUTION, 100, 100)) event_bus.notify(LifeSpanEvent(LifeSpan.SEWAGE_BOX, 75, 2700)) + event_bus.notify(LifeSpanEvent(LifeSpan.DUST_BUCKET, 90, 5400)) + event_bus.notify(LifeSpanEvent(LifeSpan.DUST_CONTAINER_FILTER, 70, 4200)) + event_bus.notify(LifeSpanEvent(LifeSpan.HEAVY_DUTY_CLEANING_SOLUTION, 60, 3600)) + event_bus.notify(LifeSpanEvent(LifeSpan.MOP_WASHING_TRAY, 50, 3000)) + event_bus.notify(LifeSpanEvent(LifeSpan.STRAINER, 30, 1800)) event_bus.notify(ErrorEvent(0, "NoError: Robot is operational")) event_bus.notify(station.StationEvent(station.State.EMPTYING_DUSTBIN)) await block_till_done(hass, event_bus) @@ -135,8 +140,36 @@ async def notify_events(hass: HomeAssistant, event_bus: EventBus): "sensor.t80_omni_error", ], ), + ( + "twunby", + [ + "sensor.t90_pro_omni_area_cleaned", + "sensor.t90_pro_omni_cleaning_duration", + "sensor.t90_pro_omni_total_area_cleaned", + "sensor.t90_pro_omni_total_cleaning_duration", + "sensor.t90_pro_omni_total_cleanings", + "sensor.t90_pro_omni_battery", + "sensor.t90_pro_omni_ip_address", + "sensor.t90_pro_omni_wi_fi_rssi", + "sensor.t90_pro_omni_wi_fi_ssid", + "sensor.t90_pro_omni_station_state", + "sensor.t90_pro_omni_main_brush_lifespan", + "sensor.t90_pro_omni_cleaning_solution_lifespan", + "sensor.t90_pro_omni_dust_bag_lifespan", + "sensor.t90_pro_omni_dust_bucket_lifespan", + "sensor.t90_pro_omni_dust_container_filter_lifespan", + "sensor.t90_pro_omni_filter_lifespan", + "sensor.t90_pro_omni_heavy_duty_cleaning_solution_lifespan", + "sensor.t90_pro_omni_mop_washing_tray_lifespan", + "sensor.t90_pro_omni_round_mop_lifespan", + "sensor.t90_pro_omni_side_brush_lifespan", + "sensor.t90_pro_omni_strainer_lifespan", + "sensor.t90_pro_omni_unit_care_lifespan", + "sensor.t90_pro_omni_error", + ], + ), ], - ids=["yna5x1", "5xu9h3", "qhe2o2", "9eamof"], + ids=["yna5x1", "5xu9h3", "qhe2o2", "9eamof", "twunby"], ) async def test_sensors( hass: HomeAssistant,