Skip to content

Commit cada2f8

Browse files
committed
Hotfix ruff warnings
1 parent dc4627f commit cada2f8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/components/history_stats/test_init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def history_stats_config_entry(
6969
"""Fixture to create a history_stats config entry."""
7070
config_entry = MockConfigEntry(
7171
data={},
72-
domain=DOMAIN,
72+
domain=HISTORY_STATS_DOMAIN,
7373
options={
7474
CONF_NAME: DEFAULT_NAME,
7575
CONF_ENTITY_ID: sensor_entity_entry.entity_id,

tests/components/homematicip_cloud/test_hap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async def test_get_state_after_disconnect(
237237
hass: HomeAssistant, hmip_config_entry: MockConfigEntry, simple_mock_home
238238
) -> None:
239239
"""Test get state after disconnect."""
240-
hass.config.components.add(DOMAIN)
240+
hass.config.components.add(HMIPC_DOMAIN)
241241
hap = HomematicipHAP(hass, hmip_config_entry)
242242
assert hap
243243

0 commit comments

Comments
 (0)