mirror of
https://github.com/home-assistant/core.git
synced 2025-06-25 01:21:51 +02:00
Hotfix ruff warnings
This commit is contained in:
@ -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,
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user