mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 07:37:34 +00:00
Hotfix ruff warnings
This commit is contained in:
parent
dc4627f413
commit
cada2f84a9
@ -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,
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user