"""Test the NEW_NAME significant change platform."""
from homeassistant.components.NEW_DOMAIN.significant_change import (
    async_check_significant_change,
)


async def test_significant_change() -> None:
    """Detect NEW_NAME significant changes."""
    attrs = {}
    assert not async_check_significant_change(None, "on", attrs, "on", attrs)
    assert async_check_significant_change(None, "on", attrs, "off", attrs)
