Hotfix ruff warnings

This commit is contained in:
Franck Nijhof 2025-06-11 18:13:03 +00:00
parent dc4627f413
commit cada2f84a9
No known key found for this signature in database
GPG Key ID: AB33ADACE7101952
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.""" """Fixture to create a history_stats config entry."""
config_entry = MockConfigEntry( config_entry = MockConfigEntry(
data={}, data={},
domain=DOMAIN, domain=HISTORY_STATS_DOMAIN,
options={ options={
CONF_NAME: DEFAULT_NAME, CONF_NAME: DEFAULT_NAME,
CONF_ENTITY_ID: sensor_entity_entry.entity_id, 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 hass: HomeAssistant, hmip_config_entry: MockConfigEntry, simple_mock_home
) -> None: ) -> None:
"""Test get state after disconnect.""" """Test get state after disconnect."""
hass.config.components.add(DOMAIN) hass.config.components.add(HMIPC_DOMAIN)
hap = HomematicipHAP(hass, hmip_config_entry) hap = HomematicipHAP(hass, hmip_config_entry)
assert hap assert hap