1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-02 08:26:41 +01:00
Files
core/tests/components/touchline/test_climate.py
2026-03-24 20:40:07 +01:00

23 lines
693 B
Python

"""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)