Files
core/tests/components/abode/test_sensor.py
T

22 lines
668 B
Python

"""Tests for the Abode sensor device."""
from pytest_homeassistant.common import snapshot_platform
from syrupy.assertion import SnapshotAssertion
from homeassistant.components.sensor import DOMAIN as SENSOR_DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.helpers import entity_registry as er
from .common import setup_platform
async def test_all_entities(
hass: HomeAssistant,
entity_registry: er.EntityRegistry,
snapshot: SnapshotAssertion,
) -> None:
"""Test all entities."""
config_entry = await setup_platform(hass, SENSOR_DOMAIN)
await snapshot_platform(hass, entity_registry, snapshot, config_entry.entry_id)