# serializer version: 1 # name: test_states[my_device-entry] DeviceRegistryEntrySnapshot({ 'area_id': None, 'config_entries': , 'config_entries_subentries': , 'configuration_url': None, 'connections': set({ tuple( 'mac', 'aa:bb:cc:dd:ee:ff', ), }), 'disabled_by': None, 'entry_type': None, 'hw_version': '1.0.0', 'id': , 'identifiers': set({ tuple( 'tplink', '123456789ABCDEFGH', ), }), 'labels': set({ }), 'manufacturer': 'TP-Link', 'model': 'HS100', 'model_id': None, 'name': 'my_device', 'name_by_user': None, 'primary_config_entry': , 'serial_number': None, 'sw_version': '1.0.0', 'via_device_id': None, }) # --- # name: test_states[switch.my_device-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': None, 'entity_id': 'switch.my_device', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': None, 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': None, 'unique_id': '123456789ABCDEFGH', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device', }), 'context': , 'entity_id': 'switch.my_device', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_auto_off_enabled-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_auto_off_enabled', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Auto-off enabled', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'auto_off_enabled', 'unique_id': '123456789ABCDEFGH_auto_off_enabled', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_auto_off_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Auto-off enabled', }), 'context': , 'entity_id': 'switch.my_device_auto_off_enabled', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_auto_update_enabled-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_auto_update_enabled', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Auto-update enabled', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'auto_update_enabled', 'unique_id': '123456789ABCDEFGH_auto_update_enabled', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_auto_update_enabled-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Auto-update enabled', }), 'context': , 'entity_id': 'switch.my_device_auto_update_enabled', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_baby_cry_detection-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': None, 'entity_id': 'switch.my_device_baby_cry_detection', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Baby cry detection', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'baby_cry_detection', 'unique_id': '123456789ABCDEFGH_baby_cry_detection', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_baby_cry_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Baby cry detection', }), 'context': , 'entity_id': 'switch.my_device_baby_cry_detection', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_carpet_boost-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_carpet_boost', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Carpet boost', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'carpet_boost', 'unique_id': '123456789ABCDEFGH_carpet_boost', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_carpet_boost-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Carpet boost', }), 'context': , 'entity_id': 'switch.my_device_carpet_boost', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_child_lock-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_child_lock', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Child lock', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'child_lock', 'unique_id': '123456789ABCDEFGH_child_lock', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_child_lock-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Child lock', }), 'context': , 'entity_id': 'switch.my_device_child_lock', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_fan_sleep_mode-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_fan_sleep_mode', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Fan sleep mode', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'fan_sleep_mode', 'unique_id': '123456789ABCDEFGH_fan_sleep_mode', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_fan_sleep_mode-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Fan sleep mode', }), 'context': , 'entity_id': 'switch.my_device_fan_sleep_mode', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'off', }) # --- # name: test_states[switch.my_device_led-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_led', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'LED', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'led', 'unique_id': '123456789ABCDEFGH_led', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_led-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device LED', }), 'context': , 'entity_id': 'switch.my_device_led', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_motion_detection-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': None, 'entity_id': 'switch.my_device_motion_detection', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Motion detection', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'motion_detection', 'unique_id': '123456789ABCDEFGH_motion_detection', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_motion_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Motion detection', }), 'context': , 'entity_id': 'switch.my_device_motion_detection', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_motion_sensor-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_motion_sensor', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Motion sensor', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'pir_enabled', 'unique_id': '123456789ABCDEFGH_pir_enabled', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_motion_sensor-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Motion sensor', }), 'context': , 'entity_id': 'switch.my_device_motion_sensor', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_person_detection-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': None, 'entity_id': 'switch.my_device_person_detection', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Person detection', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'person_detection', 'unique_id': '123456789ABCDEFGH_person_detection', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_person_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Person detection', }), 'context': , 'entity_id': 'switch.my_device_person_detection', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_smooth_transitions-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': , 'entity_id': 'switch.my_device_smooth_transitions', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Smooth transitions', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'smooth_transitions', 'unique_id': '123456789ABCDEFGH_smooth_transitions', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_smooth_transitions-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Smooth transitions', }), 'context': , 'entity_id': 'switch.my_device_smooth_transitions', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # --- # name: test_states[switch.my_device_tamper_detection-entry] EntityRegistryEntrySnapshot({ 'aliases': set({ }), 'area_id': None, 'capabilities': None, 'config_entry_id': , 'config_subentry_id': , 'device_class': None, 'device_id': , 'disabled_by': None, 'domain': 'switch', 'entity_category': None, 'entity_id': 'switch.my_device_tamper_detection', 'has_entity_name': True, 'hidden_by': None, 'icon': None, 'id': , 'labels': set({ }), 'name': None, 'options': dict({ }), 'original_device_class': None, 'original_icon': None, 'original_name': 'Tamper detection', 'platform': 'tplink', 'previous_unique_id': None, 'suggested_object_id': None, 'supported_features': 0, 'translation_key': 'tamper_detection', 'unique_id': '123456789ABCDEFGH_tamper_detection', 'unit_of_measurement': None, }) # --- # name: test_states[switch.my_device_tamper_detection-state] StateSnapshot({ 'attributes': ReadOnlyDict({ 'friendly_name': 'my_device Tamper detection', }), 'context': , 'entity_id': 'switch.my_device_tamper_detection', 'last_changed': , 'last_reported': , 'last_updated': , 'state': 'on', }) # ---