From 74fabca89023b2a41c96fc3326d92e3ac80cad1c Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Fri, 8 May 2026 23:24:37 +0200 Subject: [PATCH] Add button entity tests to Overkiz (#170122) --- .../overkiz/snapshots/test_button.ambr | 5743 +++++++++++++++++ tests/components/overkiz/test_button.py | 146 + 2 files changed, 5889 insertions(+) create mode 100644 tests/components/overkiz/snapshots/test_button.ambr create mode 100644 tests/components/overkiz/test_button.py diff --git a/tests/components/overkiz/snapshots/test_button.ambr b/tests/components/overkiz/snapshots/test_button.ambr new file mode 100644 index 000000000000..e6ca88f19355 --- /dev/null +++ b/tests/components/overkiz/snapshots/test_button.ambr @@ -0,0 +1,5743 @@ +# serializer version: 1 +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_identify-entry] + 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.garage_ceiling_light_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/82173-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Garage Ceiling Light Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garage_ceiling_light_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_start_identify-entry] + 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.garage_ceiling_light_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/82173-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garage Ceiling Light Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garage_ceiling_light_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_stop_identify-entry] + 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.garage_ceiling_light_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/82173-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garage_ceiling_light_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garage Ceiling Light Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garage_ceiling_light_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_identify-entry] + 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.garden_radiator_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/15702199#1-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Garden Radiator Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_radiator_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_start_identify-entry] + 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.garden_radiator_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/15702199#1-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden Radiator Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_radiator_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_stop_identify-entry] + 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.garden_radiator_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/15702199#1-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.garden_radiator_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden Radiator Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_radiator_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_identify-entry] + 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.hallway_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/4080031-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Hallway Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.hallway_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_my_position-entry] + 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.hallway_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/4080031-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Hallway Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.hallway_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_start_identify-entry] + 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.hallway_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/4080031-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Hallway Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.hallway_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_stop_identify-entry] + 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.hallway_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/4080031-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.hallway_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Hallway Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.hallway_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_identify-entry] + 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.living_room_radiator_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9253412#1-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Living Room Radiator Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_radiator_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_start_identify-entry] + 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.living_room_radiator_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9253412#1-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Radiator Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_radiator_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_stop_identify-entry] + 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.living_room_radiator_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9253412#1-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_radiator_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Radiator Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_radiator_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_smoke_detector_test-entry] + 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.living_room_smoke_detector_test', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Test', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:smoke-detector', + 'original_name': 'Test', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/8907539-checkEventTrigger', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.living_room_smoke_detector_test-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Smoke Detector Test', + 'icon': 'mdi:smoke-detector', + }), + 'context': , + 'entity_id': 'button.living_room_smoke_detector_test', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_identify-entry] + 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.nursery_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/141613-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Nursery Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.nursery_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_my_position-entry] + 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.nursery_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/141613-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Nursery Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.nursery_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_start_identify-entry] + 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.nursery_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/141613-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Nursery Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.nursery_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_stop_identify-entry] + 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.nursery_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/141613-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.nursery_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Nursery Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.nursery_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_identify-entry] + 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.office_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9740264-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Office Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_my_position-entry] + 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.office_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9740264-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.office_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_start_identify-entry] + 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.office_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9740264-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_stop_identify-entry] + 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.office_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9740264-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.office_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_identify-entry] + 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.study_ceiling_light_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/2867634-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Study Ceiling Light Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_ceiling_light_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_start_identify-entry] + 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.study_ceiling_light_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/2867634-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Study Ceiling Light Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_ceiling_light_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_stop_identify-entry] + 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.study_ceiling_light_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/2867634-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_ceiling_light_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Study Ceiling Light Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_ceiling_light_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_identify-entry] + 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.study_radiator_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9187218#1-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Study Radiator Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_radiator_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_start_identify-entry] + 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.study_radiator_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9187218#1-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Study Radiator Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_radiator_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_stop_identify-entry] + 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.study_radiator_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/9187218#1-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.study_radiator_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Study Radiator Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.study_radiator_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_identify-entry] + 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.terrace_ceiling_light_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/11944017-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Terrace Ceiling Light Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.terrace_ceiling_light_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_start_identify-entry] + 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.terrace_ceiling_light_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/11944017-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Terrace Ceiling Light Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.terrace_ceiling_light_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_stop_identify-entry] + 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.terrace_ceiling_light_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1698/11944017-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_ceiling_light_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Terrace Ceiling Light Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.terrace_ceiling_light_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_radiator_start_identify-entry] + 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.terrace_radiator_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'ovp://1234-5678-1698/374762#1-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_nexity_rail_din_europe.json][button.terrace_radiator_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Terrace Radiator Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.terrace_radiator_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_identify-entry] + 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.bedroom_blinds_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13064380-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Bedroom Blinds Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_blinds_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_my_position-entry] + 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.bedroom_blinds_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13064380-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Bedroom Blinds My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.bedroom_blinds_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_start_identify-entry] + 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.bedroom_blinds_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13064380-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Bedroom Blinds Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_blinds_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_stop_identify-entry] + 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.bedroom_blinds_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13064380-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_blinds_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Bedroom Blinds Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_blinds_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_identify-entry] + 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.bedroom_window_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9337336-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Bedroom Window Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_window_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_start_identify-entry] + 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.bedroom_window_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9337336-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Bedroom Window Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_window_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_stop_identify-entry] + 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.bedroom_window_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9337336-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.bedroom_window_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Bedroom Window Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.bedroom_window_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_identify-entry] + 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.dining_room_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2487349-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Dining Room Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.dining_room_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_my_position-entry] + 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.dining_room_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2487349-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Dining Room Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.dining_room_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_start_identify-entry] + 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.dining_room_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2487349-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Dining Room Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.dining_room_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_stop_identify-entry] + 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.dining_room_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2487349-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.dining_room_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Dining Room Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.dining_room_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_door_start_identify-entry] + 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.garage_door_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/16730050-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garage_door_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garage Door Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garage_door_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_identify-entry] + 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.garden_gate_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/877679-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Garden Gate Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_gate_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_start_identify-entry] + 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.garden_gate_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/877679-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden Gate Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_gate_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_stop_identify-entry] + 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.garden_gate_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/877679-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_gate_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden Gate Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_gate_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_identify-entry] + 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.garden_house_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/12184029-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Garden House Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_house_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_my_position-entry] + 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.garden_house_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/12184029-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden House Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.garden_house_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_start_identify-entry] + 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.garden_house_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/12184029-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden House Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_house_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_stop_identify-entry] + 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.garden_house_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/12184029-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.garden_house_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Garden House Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.garden_house_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_identify-entry] + 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.guest_room_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8170693-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Guest Room Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.guest_room_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_my_position-entry] + 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.guest_room_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8170693-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Guest Room Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.guest_room_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_start_identify-entry] + 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.guest_room_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8170693-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Guest Room Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.guest_room_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_stop_identify-entry] + 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.guest_room_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8170693-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.guest_room_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Guest Room Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.guest_room_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify-entry] + 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.identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/16168460-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': '* * *&* Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_2-entry] + 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.identify_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2155276-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': '* Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.identify_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_3-entry] + 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.identify_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/6852535-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': '* * * Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.identify_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_4-entry] + 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.identify_4', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9474368-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.identify_4-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': '* * Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.identify_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_identify-entry] + 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.kids_room_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9749383-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Kids Room Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kids_room_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_my_position-entry] + 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.kids_room_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9749383-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kids Room Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.kids_room_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_start_identify-entry] + 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.kids_room_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9749383-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kids Room Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kids_room_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_stop_identify-entry] + 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.kids_room_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9749383-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kids_room_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kids Room Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kids_room_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_identify-entry] + 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.kitchen_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13136078-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Kitchen Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kitchen_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_my_position-entry] + 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.kitchen_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13136078-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kitchen Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.kitchen_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_start_identify-entry] + 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.kitchen_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13136078-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kitchen Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kitchen_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_stop_identify-entry] + 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.kitchen_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13136078-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.kitchen_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Kitchen Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.kitchen_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_identify-entry] + 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.living_room_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8939545-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Living Room Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_my_position-entry] + 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.living_room_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8939545-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.living_room_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_start_identify-entry] + 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.living_room_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8939545-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_stop_identify-entry] + 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.living_room_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/8939545-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.living_room_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Living Room Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.living_room_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_identify-entry] + 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.main_garage_door_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/1166863-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Main Garage Door Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.main_garage_door_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_start_identify-entry] + 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.main_garage_door_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/1166863-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Main Garage Door Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.main_garage_door_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_stop_identify-entry] + 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.main_garage_door_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/1166863-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.main_garage_door_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Main Garage Door Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.main_garage_door_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_identify-entry] + 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.office_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13911608-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Office Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_my_position-entry] + 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.office_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13911608-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.office_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_start_identify-entry] + 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.office_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13911608-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_stop_identify-entry] + 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.office_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/13911608-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.office_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Office Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.office_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.ogp_garage_door_start_identify-entry] + 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.ogp_garage_door_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'ogp://1234-1234-6233/6632544-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.ogp_garage_door_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'OGP Garage Door Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.ogp_garage_door_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_identify-entry] + 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.patio_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/180461-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Patio Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.patio_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_my_position-entry] + 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.patio_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/180461-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Patio Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.patio_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_start_identify-entry] + 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.patio_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/180461-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Patio Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.patio_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_stop_identify-entry] + 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.patio_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/180461-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.patio_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Patio Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.patio_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_identify-entry] + 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.side_garage_door_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/3880877-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Side Garage Door Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.side_garage_door_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_start_identify-entry] + 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.side_garage_door_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/3880877-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Side Garage Door Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.side_garage_door_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_stop_identify-entry] + 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.side_garage_door_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/3880877-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.side_garage_door_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Side Garage Door Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.side_garage_door_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify-entry] + 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.start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/16168460-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * *&* Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_2-entry] + 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.start_identify_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2155276-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.start_identify_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_3-entry] + 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.start_identify_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/6852535-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * * Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.start_identify_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_4-entry] + 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.start_identify_4', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9474368-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.start_identify_4-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.start_identify_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify-entry] + 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.stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/16168460-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * *&* Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_2-entry] + 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.stop_identify_2', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/2155276-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_2-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.stop_identify_2', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_3-entry] + 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.stop_identify_3', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/6852535-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_3-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * * Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.stop_identify_3', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_4-entry] + 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.stop_identify_4', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/9474368-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.stop_identify_4-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '* * Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.stop_identify_4', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_identify-entry] + 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.studio_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/7019474-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Studio Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.studio_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_my_position-entry] + 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.studio_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/7019474-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Studio Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.studio_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_start_identify-entry] + 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.studio_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/7019474-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Studio Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.studio_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_stop_identify-entry] + 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.studio_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-1234-6233/7019474-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[cloud_somfy_tahoma_v2_europe.json][button.studio_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Studio Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.studio_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_identify-entry] + 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.back_door_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3897767-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Back Door Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.back_door_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_my_position-entry] + 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.back_door_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3897767-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Back Door Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.back_door_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_start_identify-entry] + 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.back_door_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3897767-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Back Door Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.back_door_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_stop_identify-entry] + 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.back_door_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3897767-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.back_door_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Back Door Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.back_door_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_identify-entry] + 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.front_door_shutter_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3656107-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Front Door Shutter Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.front_door_shutter_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_my_position-entry] + 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.front_door_shutter_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3656107-my', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Front Door Shutter My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.front_door_shutter_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_start_identify-entry] + 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.front_door_shutter_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3656107-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Front Door Shutter Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.front_door_shutter_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_stop_identify-entry] + 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.front_door_shutter_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/3656107-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.front_door_shutter_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Front Door Shutter Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.front_door_shutter_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_identify-entry] + 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.roof_window_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Identify', + 'options': dict({ + }), + 'original_device_class': , + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/77700-startIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'device_class': 'identify', + 'friendly_name': 'Roof Window Identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.roof_window_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_my_position-entry] + 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.roof_window_my_position', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'My position', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:star', + 'original_name': 'My position', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/77700-goToAlias', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_my_position-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Roof Window My position', + 'icon': 'mdi:star', + }), + 'context': , + 'entity_id': 'button.roof_window_my_position', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_start_identify-entry] + 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.roof_window_start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/77700-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Roof Window Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.roof_window_start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_stop_identify-entry] + 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.roof_window_stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'io://1234-5678-1516/77700-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.roof_window_stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': 'Roof Window Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.roof_window_stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.start_identify-entry] + 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.start_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Start identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Start identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'zigbee://1234-5678-1516/2501/1-identify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.start_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '** Start identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.start_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.stop_identify-entry] + 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.stop_identify', + 'has_entity_name': True, + 'hidden_by': None, + 'icon': None, + 'id': , + 'labels': set({ + }), + 'name': None, + 'object_id_base': 'Stop identify', + 'options': dict({ + }), + 'original_device_class': None, + 'original_icon': 'mdi:human-greeting-variant', + 'original_name': 'Stop identify', + 'platform': 'overkiz', + 'previous_unique_id': None, + 'suggested_object_id': None, + 'supported_features': 0, + 'translation_key': None, + 'unique_id': 'zigbee://1234-5678-1516/2501/1-stopIdentify', + 'unit_of_measurement': None, + }) +# --- +# name: test_button_entities_snapshot[local_somfy_tahoma_switch_europe_2.json][button.stop_identify-state] + StateSnapshot({ + 'attributes': ReadOnlyDict({ + 'friendly_name': '** Stop identify', + 'icon': 'mdi:human-greeting-variant', + }), + 'context': , + 'entity_id': 'button.stop_identify', + 'last_changed': , + 'last_reported': , + 'last_updated': , + 'state': 'unknown', + }) +# --- diff --git a/tests/components/overkiz/test_button.py b/tests/components/overkiz/test_button.py new file mode 100644 index 000000000000..f71550833d21 --- /dev/null +++ b/tests/components/overkiz/test_button.py @@ -0,0 +1,146 @@ +"""Tests for the Overkiz button platform.""" + +from collections.abc import Generator +from pathlib import Path +from unittest.mock import patch + +from freezegun.api import FrozenDateTimeFactory +from pyoverkiz.enums import EventName +import pytest +from syrupy.assertion import SnapshotAssertion + +from homeassistant.components.button import DOMAIN as BUTTON_DOMAIN, SERVICE_PRESS +from homeassistant.const import ATTR_ENTITY_ID, STATE_UNAVAILABLE, Platform +from homeassistant.core import HomeAssistant +from homeassistant.helpers import entity_registry as er + +from .conftest import FixtureDevice, MockOverkizClient, SetupOverkizIntegration +from .helpers import assert_command_call, async_deliver_events, build_event + +from tests.common import snapshot_platform + +MY_POSITION = FixtureDevice( + "setup/cloud_somfy_tahoma_v2_europe.json", + "io://1234-1234-6233/12184029", + "button.garden_house_shutter_my_position", +) +IDENTIFY = FixtureDevice( + "setup/cloud_somfy_tahoma_v2_europe.json", + "io://1234-1234-6233/12184029", + "button.garden_house_shutter_identify", +) +GO_TO_ALIAS = FixtureDevice( + "setup/local_somfy_tahoma_switch_europe_2.json", + "io://1234-5678-1516/77700", + "button.roof_window_my_position", +) +CHECK_EVENT_TRIGGER = FixtureDevice( + "setup/cloud_nexity_rail_din_europe.json", + "io://1234-5678-1698/8907539", + "button.living_room_smoke_detector_test", +) + +SNAPSHOT_FIXTURES = [ + MY_POSITION, + GO_TO_ALIAS, + CHECK_EVENT_TRIGGER, +] + + +@pytest.fixture(autouse=True) +def fixture_platforms() -> Generator[None]: + """Limit platforms to button only.""" + with patch("homeassistant.components.overkiz.PLATFORMS", [Platform.BUTTON]): + yield + + +@pytest.mark.parametrize( + "device", + SNAPSHOT_FIXTURES, + ids=[Path(device.fixture).name for device in SNAPSHOT_FIXTURES], +) +@pytest.mark.usefixtures("entity_registry_enabled_by_default") +async def test_button_entities_snapshot( + hass: HomeAssistant, + setup_overkiz_integration: SetupOverkizIntegration, + entity_registry: er.EntityRegistry, + snapshot: SnapshotAssertion, + device: FixtureDevice, +) -> None: + """Test representative real setups via snapshot.""" + config_entry = await setup_overkiz_integration(fixture=device.fixture) + + await snapshot_platform(hass, entity_registry, snapshot, config_entry.entry_id) + + +async def test_button_press( + hass: HomeAssistant, + setup_overkiz_integration: SetupOverkizIntegration, + mock_client: MockOverkizClient, +) -> None: + """Test pressing a button without arguments sends the correct command.""" + await setup_overkiz_integration(fixture=MY_POSITION.fixture) + + await hass.services.async_call( + BUTTON_DOMAIN, + SERVICE_PRESS, + {ATTR_ENTITY_ID: MY_POSITION.entity_id}, + blocking=True, + ) + + assert_command_call( + mock_client, + device_url=MY_POSITION.device_url, + command_name="my", + ) + + +async def test_button_press_with_args( + hass: HomeAssistant, + setup_overkiz_integration: SetupOverkizIntegration, + mock_client: MockOverkizClient, +) -> None: + """Test pressing a button with arguments sends the correct command.""" + await setup_overkiz_integration(fixture=GO_TO_ALIAS.fixture) + + await hass.services.async_call( + BUTTON_DOMAIN, + SERVICE_PRESS, + {ATTR_ENTITY_ID: GO_TO_ALIAS.entity_id}, + blocking=True, + ) + + assert_command_call( + mock_client, + device_url=GO_TO_ALIAS.device_url, + command_name="goToAlias", + parameters=["1"], + ) + + +async def test_button_unavailability( + hass: HomeAssistant, + setup_overkiz_integration: SetupOverkizIntegration, + mock_client: MockOverkizClient, + freezer: FrozenDateTimeFactory, +) -> None: + """Test button becomes unavailable when device goes offline.""" + await setup_overkiz_integration(fixture=MY_POSITION.fixture) + + state = hass.states.get(MY_POSITION.entity_id) + assert state + assert state.state != STATE_UNAVAILABLE + + await async_deliver_events( + hass, + freezer, + mock_client, + [ + build_event( + EventName.DEVICE_UNAVAILABLE.value, + device_url=MY_POSITION.device_url, + ) + ], + ) + + assert hass.states.get(MY_POSITION.entity_id).state == STATE_UNAVAILABLE