Hotfix ruff warnings

This commit is contained in:
Franck Nijhof
2025-06-11 18:13:03 +00:00
parent dc4627f413
commit cada2f84a9
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ def history_stats_config_entry(
"""Fixture to create a history_stats config entry."""
config_entry = MockConfigEntry(
data={},
domain=DOMAIN,
domain=HISTORY_STATS_DOMAIN,
options={
CONF_NAME: DEFAULT_NAME,
CONF_ENTITY_ID: sensor_entity_entry.entity_id,

View File

@ -237,7 +237,7 @@ async def test_get_state_after_disconnect(
hass: HomeAssistant, hmip_config_entry: MockConfigEntry, simple_mock_home
) -> None:
"""Test get state after disconnect."""
hass.config.components.add(DOMAIN)
hass.config.components.add(HMIPC_DOMAIN)
hap = HomematicipHAP(hass, hmip_config_entry)
assert hap