|
| 1 | +# serializer version: 1 |
| 2 | +# name: test_adam_button_snapshot[platforms0][button.adam_reboot-entry] |
| 3 | + EntityRegistryEntrySnapshot({ |
| 4 | + 'aliases': set({ |
| 5 | + }), |
| 6 | + 'area_id': None, |
| 7 | + 'capabilities': None, |
| 8 | + 'config_entry_id': <ANY>, |
| 9 | + 'config_subentry_id': <ANY>, |
| 10 | + 'device_class': None, |
| 11 | + 'device_id': <ANY>, |
| 12 | + 'disabled_by': None, |
| 13 | + 'domain': 'button', |
| 14 | + 'entity_category': <EntityCategory.CONFIG: 'config'>, |
| 15 | + 'entity_id': 'button.adam_reboot', |
| 16 | + 'has_entity_name': True, |
| 17 | + 'hidden_by': None, |
| 18 | + 'icon': None, |
| 19 | + 'id': <ANY>, |
| 20 | + 'labels': set({ |
| 21 | + }), |
| 22 | + 'name': None, |
| 23 | + 'options': dict({ |
| 24 | + }), |
| 25 | + 'original_device_class': <ButtonDeviceClass.RESTART: 'restart'>, |
| 26 | + 'original_icon': None, |
| 27 | + 'original_name': 'Reboot', |
| 28 | + 'platform': 'plugwise', |
| 29 | + 'previous_unique_id': None, |
| 30 | + 'suggested_object_id': None, |
| 31 | + 'supported_features': 0, |
| 32 | + 'translation_key': 'reboot', |
| 33 | + 'unique_id': 'fe799307f1624099878210aa0b9f1475-reboot', |
| 34 | + 'unit_of_measurement': None, |
| 35 | + }) |
| 36 | +# --- |
| 37 | +# name: test_adam_button_snapshot[platforms0][button.adam_reboot-state] |
| 38 | + StateSnapshot({ |
| 39 | + 'attributes': ReadOnlyDict({ |
| 40 | + 'device_class': 'restart', |
| 41 | + 'friendly_name': 'Adam Reboot', |
| 42 | + }), |
| 43 | + 'context': <ANY>, |
| 44 | + 'entity_id': 'button.adam_reboot', |
| 45 | + 'last_changed': <ANY>, |
| 46 | + 'last_reported': <ANY>, |
| 47 | + 'last_updated': <ANY>, |
| 48 | + 'state': 'unknown', |
| 49 | + }) |
| 50 | +# --- |
0 commit comments