"""Tests for the Touchline climate platform.""" from __future__ import annotations import pytest from syrupy.assertion import SnapshotAssertion from homeassistant.core import HomeAssistant from homeassistant.helpers import entity_registry as er from tests.common import MockConfigEntry, snapshot_platform @pytest.mark.usefixtures("init_integration") async def test_climate_entities( hass: HomeAssistant, snapshot: SnapshotAssertion, entity_registry: er.EntityRegistry, mock_config_entry: MockConfigEntry, ) -> None: """Test the Touchline climate entities match the snapshot.""" await snapshot_platform(hass, entity_registry, snapshot, mock_config_entry.entry_id)