### Snapshot Assertion Fixture for Home Assistant Source: https://github.com/matthewflamm/pytest-homeassistant-custom-component/blob/master/README.md Configure a pytest fixture for snapshot testing with Home Assistant specific extensions. This ensures snapshots are loaded from a folder colocated with the tests. ```python from pytest_homeassistant_custom_component.syrupy import HomeAssistantSnapshotExtension from syrupy.assertion import SnapshotAssertion @pytest.fixture def snapshot(snapshot: SnapshotAssertion) -> SnapshotAssertion: """Return snapshot assertion fixture with the Home Assistant extension.""" return snapshot.use_extension(HomeAssistantSnapshotExtension) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.