mirror of
https://github.com/home-assistant/core.git
synced 2026-05-20 07:20:14 +01:00
4641c829ca
Co-authored-by: Erwin Douna <e.douna@gmail.com> Co-authored-by: Joostlek <joostlek@outlook.com>
22 lines
532 B
Python
22 lines
532 B
Python
"""Tests fixtures for the Avea integration."""
|
|
|
|
import pytest
|
|
|
|
from homeassistant.components.avea.const import DOMAIN
|
|
from homeassistant.const import CONF_ADDRESS
|
|
|
|
from . import AVEA_DISCOVERY_INFO
|
|
|
|
from tests.common import MockConfigEntry
|
|
|
|
|
|
@pytest.fixture
|
|
def mock_config_entry() -> MockConfigEntry:
|
|
"""Create a mock Avea config entry."""
|
|
return MockConfigEntry(
|
|
domain=DOMAIN,
|
|
title="Bedroom",
|
|
unique_id=AVEA_DISCOVERY_INFO.address,
|
|
data={CONF_ADDRESS: AVEA_DISCOVERY_INFO.address},
|
|
)
|