1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-24 03:47:14 +00:00
Files
core/tests/components/stiebel_eltron/test_init.py
2025-12-23 22:05:22 +01:00

22 lines
688 B
Python

"""Tests for the STIEBEL ELTRON integration."""
from homeassistant.components.stiebel_eltron.const import DOMAIN
from homeassistant.core import HomeAssistant
from homeassistant.helpers import issue_registry as ir
from homeassistant.setup import async_setup_component
async def test_async_setup_success(
hass: HomeAssistant,
issue_registry: ir.IssueRegistry,
) -> None:
"""Test successful async_setup."""
config = {}
assert await async_setup_component(hass, DOMAIN, config)
await hass.async_block_till_done()
# No issue should be created by the new async_setup
issue = issue_registry.async_get_issue(DOMAIN, "deprecated_yaml")
assert issue is None