|
440 | 440 | 'state': 'on', |
441 | 441 | }) |
442 | 442 | # --- |
443 | | -# name: test_adam_switch_snapshot[platforms0][switch.test_relay-entry] |
444 | | - EntityRegistryEntrySnapshot({ |
445 | | - 'aliases': set({ |
446 | | - }), |
447 | | - 'area_id': None, |
448 | | - 'capabilities': None, |
449 | | - 'config_entry_id': <ANY>, |
450 | | - 'config_subentry_id': <ANY>, |
451 | | - 'device_class': None, |
452 | | - 'device_id': <ANY>, |
453 | | - 'disabled_by': None, |
454 | | - 'domain': 'switch', |
455 | | - 'entity_category': None, |
456 | | - 'entity_id': 'switch.test_relay', |
457 | | - 'has_entity_name': True, |
458 | | - 'hidden_by': None, |
459 | | - 'icon': None, |
460 | | - 'id': <ANY>, |
461 | | - 'labels': set({ |
462 | | - }), |
463 | | - 'name': None, |
464 | | - 'options': dict({ |
465 | | - }), |
466 | | - 'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>, |
467 | | - 'original_icon': None, |
468 | | - 'original_name': 'Relay', |
469 | | - 'platform': 'plugwise', |
470 | | - 'previous_unique_id': None, |
471 | | - 'suggested_object_id': None, |
472 | | - 'supported_features': 0, |
473 | | - 'translation_key': 'relay', |
474 | | - 'unique_id': 'e8ef2a01ed3b4139a53bf749204fe6b4-relay', |
475 | | - 'unit_of_measurement': None, |
476 | | - }) |
477 | | -# --- |
478 | | -# name: test_adam_switch_snapshot[platforms0][switch.test_relay-state] |
479 | | - StateSnapshot({ |
480 | | - 'attributes': ReadOnlyDict({ |
481 | | - 'device_class': 'switch', |
482 | | - 'friendly_name': 'Test Relay', |
483 | | - }), |
484 | | - 'context': <ANY>, |
485 | | - 'entity_id': 'switch.test_relay', |
486 | | - 'last_changed': <ANY>, |
487 | | - 'last_reported': <ANY>, |
488 | | - 'last_updated': <ANY>, |
489 | | - 'state': 'on', |
490 | | - }) |
491 | | -# --- |
492 | 443 | # name: test_adam_switch_snapshot[platforms0][switch.usg_smart_plug_lock-entry] |
493 | 444 | EntityRegistryEntrySnapshot({ |
494 | 445 | 'aliases': set({ |
|
979 | 930 | 'state': 'on', |
980 | 931 | }) |
981 | 932 | # --- |
982 | | -# name: test_stretch_switch_snapshot[platforms0][switch.schakel_relay-entry] |
983 | | - EntityRegistryEntrySnapshot({ |
984 | | - 'aliases': set({ |
985 | | - }), |
986 | | - 'area_id': None, |
987 | | - 'capabilities': None, |
988 | | - 'config_entry_id': <ANY>, |
989 | | - 'config_subentry_id': <ANY>, |
990 | | - 'device_class': None, |
991 | | - 'device_id': <ANY>, |
992 | | - 'disabled_by': None, |
993 | | - 'domain': 'switch', |
994 | | - 'entity_category': None, |
995 | | - 'entity_id': 'switch.schakel_relay', |
996 | | - 'has_entity_name': True, |
997 | | - 'hidden_by': None, |
998 | | - 'icon': None, |
999 | | - 'id': <ANY>, |
1000 | | - 'labels': set({ |
1001 | | - }), |
1002 | | - 'name': None, |
1003 | | - 'options': dict({ |
1004 | | - }), |
1005 | | - 'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>, |
1006 | | - 'original_icon': None, |
1007 | | - 'original_name': 'Relay', |
1008 | | - 'platform': 'plugwise', |
1009 | | - 'previous_unique_id': None, |
1010 | | - 'suggested_object_id': None, |
1011 | | - 'supported_features': 0, |
1012 | | - 'translation_key': 'relay', |
1013 | | - 'unique_id': 'd03738edfcc947f7b8f4573571d90d2d-relay', |
1014 | | - 'unit_of_measurement': None, |
1015 | | - }) |
1016 | | -# --- |
1017 | | -# name: test_stretch_switch_snapshot[platforms0][switch.schakel_relay-state] |
1018 | | - StateSnapshot({ |
1019 | | - 'attributes': ReadOnlyDict({ |
1020 | | - 'device_class': 'switch', |
1021 | | - 'friendly_name': 'Schakel Relay', |
1022 | | - }), |
1023 | | - 'context': <ANY>, |
1024 | | - 'entity_id': 'switch.schakel_relay', |
1025 | | - 'last_changed': <ANY>, |
1026 | | - 'last_reported': <ANY>, |
1027 | | - 'last_updated': <ANY>, |
1028 | | - 'state': 'on', |
1029 | | - }) |
1030 | | -# --- |
1031 | | -# name: test_stretch_switch_snapshot[platforms0][switch.stroomvreters_relay-entry] |
1032 | | - EntityRegistryEntrySnapshot({ |
1033 | | - 'aliases': set({ |
1034 | | - }), |
1035 | | - 'area_id': None, |
1036 | | - 'capabilities': None, |
1037 | | - 'config_entry_id': <ANY>, |
1038 | | - 'config_subentry_id': <ANY>, |
1039 | | - 'device_class': None, |
1040 | | - 'device_id': <ANY>, |
1041 | | - 'disabled_by': None, |
1042 | | - 'domain': 'switch', |
1043 | | - 'entity_category': None, |
1044 | | - 'entity_id': 'switch.stroomvreters_relay', |
1045 | | - 'has_entity_name': True, |
1046 | | - 'hidden_by': None, |
1047 | | - 'icon': None, |
1048 | | - 'id': <ANY>, |
1049 | | - 'labels': set({ |
1050 | | - }), |
1051 | | - 'name': None, |
1052 | | - 'options': dict({ |
1053 | | - }), |
1054 | | - 'original_device_class': <SwitchDeviceClass.SWITCH: 'switch'>, |
1055 | | - 'original_icon': None, |
1056 | | - 'original_name': 'Relay', |
1057 | | - 'platform': 'plugwise', |
1058 | | - 'previous_unique_id': None, |
1059 | | - 'suggested_object_id': None, |
1060 | | - 'supported_features': 0, |
1061 | | - 'translation_key': 'relay', |
1062 | | - 'unique_id': 'd950b314e9d8499f968e6db8d82ef78c-relay', |
1063 | | - 'unit_of_measurement': None, |
1064 | | - }) |
1065 | | -# --- |
1066 | | -# name: test_stretch_switch_snapshot[platforms0][switch.stroomvreters_relay-state] |
1067 | | - StateSnapshot({ |
1068 | | - 'attributes': ReadOnlyDict({ |
1069 | | - 'device_class': 'switch', |
1070 | | - 'friendly_name': 'Stroomvreters Relay', |
1071 | | - }), |
1072 | | - 'context': <ANY>, |
1073 | | - 'entity_id': 'switch.stroomvreters_relay', |
1074 | | - 'last_changed': <ANY>, |
1075 | | - 'last_reported': <ANY>, |
1076 | | - 'last_updated': <ANY>, |
1077 | | - 'state': 'on', |
1078 | | - }) |
1079 | | -# --- |
1080 | 933 | # name: test_stretch_switch_snapshot[platforms0][switch.vaatwasser_2a1ab_lock-entry] |
1081 | 934 | EntityRegistryEntrySnapshot({ |
1082 | 935 | 'aliases': set({ |
|
0 commit comments