Skip to content

Commit 906cecf

Browse files
authored
Cleanup unused snapshots (#128549)
* Cleanup unused snapshots * Cleanup a few more * Cleanup systemmonitor * Cleanup voip
1 parent cb1b917 commit 906cecf

File tree

16 files changed

+521
-9659
lines changed

16 files changed

+521
-9659
lines changed

tests/components/analytics_insights/snapshots/test_sensor.ambr

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -299,103 +299,3 @@
299299
'state': '339',
300300
})
301301
# ---
302-
# name: test_all_entities[sensor.total_active_installations-entry]
303-
EntityRegistryEntrySnapshot({
304-
'aliases': set({
305-
}),
306-
'area_id': None,
307-
'capabilities': dict({
308-
'state_class': <SensorStateClass.TOTAL: 'total'>,
309-
}),
310-
'config_entry_id': <ANY>,
311-
'device_class': None,
312-
'device_id': <ANY>,
313-
'disabled_by': None,
314-
'domain': 'sensor',
315-
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
316-
'entity_id': 'sensor.total_active_installations',
317-
'has_entity_name': True,
318-
'hidden_by': None,
319-
'icon': None,
320-
'id': <ANY>,
321-
'labels': set({
322-
}),
323-
'name': None,
324-
'options': dict({
325-
}),
326-
'original_device_class': None,
327-
'original_icon': None,
328-
'original_name': 'Total active installations',
329-
'platform': 'analytics_insights',
330-
'previous_unique_id': None,
331-
'supported_features': 0,
332-
'translation_key': 'total_active_installations',
333-
'unique_id': 'total_active_installations',
334-
'unit_of_measurement': 'active installations',
335-
})
336-
# ---
337-
# name: test_all_entities[sensor.total_active_installations-state]
338-
StateSnapshot({
339-
'attributes': ReadOnlyDict({
340-
'friendly_name': 'Homeassistant Analytics Total active installations',
341-
'state_class': <SensorStateClass.TOTAL: 'total'>,
342-
'unit_of_measurement': 'active installations',
343-
}),
344-
'context': <ANY>,
345-
'entity_id': 'sensor.total_active_installations',
346-
'last_changed': <ANY>,
347-
'last_reported': <ANY>,
348-
'last_updated': <ANY>,
349-
'state': '310400',
350-
})
351-
# ---
352-
# name: test_all_entities[sensor.total_reports_integrations-entry]
353-
EntityRegistryEntrySnapshot({
354-
'aliases': set({
355-
}),
356-
'area_id': None,
357-
'capabilities': dict({
358-
'state_class': <SensorStateClass.TOTAL: 'total'>,
359-
}),
360-
'config_entry_id': <ANY>,
361-
'device_class': None,
362-
'device_id': <ANY>,
363-
'disabled_by': None,
364-
'domain': 'sensor',
365-
'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>,
366-
'entity_id': 'sensor.total_reports_integrations',
367-
'has_entity_name': True,
368-
'hidden_by': None,
369-
'icon': None,
370-
'id': <ANY>,
371-
'labels': set({
372-
}),
373-
'name': None,
374-
'options': dict({
375-
}),
376-
'original_device_class': None,
377-
'original_icon': None,
378-
'original_name': 'Total reported integrations',
379-
'platform': 'analytics_insights',
380-
'previous_unique_id': None,
381-
'supported_features': 0,
382-
'translation_key': 'total_reports_integrations',
383-
'unique_id': 'total_reports_integrations',
384-
'unit_of_measurement': 'active installations',
385-
})
386-
# ---
387-
# name: test_all_entities[sensor.total_reports_integrations-state]
388-
StateSnapshot({
389-
'attributes': ReadOnlyDict({
390-
'friendly_name': 'Homeassistant Analytics Total reported integrations',
391-
'state_class': <SensorStateClass.TOTAL: 'total'>,
392-
'unit_of_measurement': 'active installations',
393-
}),
394-
'context': <ANY>,
395-
'entity_id': 'sensor.total_reports_integrations',
396-
'last_changed': <ANY>,
397-
'last_reported': <ANY>,
398-
'last_updated': <ANY>,
399-
'state': '249256',
400-
})
401-
# ---

tests/components/gardena_bluetooth/snapshots/test_config_flow.ambr

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -84,60 +84,6 @@
8484
'type': <FlowResultType.ABORT: 'abort'>,
8585
})
8686
# ---
87-
# name: test_bluetooth_lost
88-
FlowResultSnapshot({
89-
'data_schema': None,
90-
'description_placeholders': dict({
91-
'name': 'Timer',
92-
}),
93-
'errors': None,
94-
'flow_id': <ANY>,
95-
'handler': 'gardena_bluetooth',
96-
'last_step': None,
97-
'step_id': 'confirm',
98-
'type': <FlowResultType.FORM: 'form'>,
99-
})
100-
# ---
101-
# name: test_bluetooth_lost.1
102-
FlowResultSnapshot({
103-
'context': dict({
104-
'confirm_only': True,
105-
'source': 'bluetooth',
106-
'title_placeholders': dict({
107-
'name': 'Timer',
108-
}),
109-
'unique_id': '00000000-0000-0000-0000-000000000001',
110-
}),
111-
'data': dict({
112-
'address': '00000000-0000-0000-0000-000000000001',
113-
}),
114-
'description': None,
115-
'description_placeholders': None,
116-
'flow_id': <ANY>,
117-
'handler': 'gardena_bluetooth',
118-
'options': dict({
119-
}),
120-
'result': ConfigEntrySnapshot({
121-
'data': dict({
122-
'address': '00000000-0000-0000-0000-000000000001',
123-
}),
124-
'disabled_by': None,
125-
'domain': 'gardena_bluetooth',
126-
'entry_id': <ANY>,
127-
'options': dict({
128-
}),
129-
'pref_disable_new_entities': False,
130-
'pref_disable_polling': False,
131-
'source': 'bluetooth',
132-
'title': 'Timer',
133-
'unique_id': '00000000-0000-0000-0000-000000000001',
134-
'version': 1,
135-
}),
136-
'title': 'Timer',
137-
'type': <FlowResultType.CREATE_ENTRY: 'create_entry'>,
138-
'version': 1,
139-
})
140-
# ---
14187
# name: test_failed_connect[component.gardena_bluetooth.config.abort.cannot_connect]
14288
FlowResultSnapshot({
14389
'data_schema': list([

0 commit comments

Comments
 (0)