Skip to content

Commit

Permalink
Fix ConfigEntryState deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
andreapier committed Nov 11, 2024
1 parent 96c62d7 commit b709f13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pytest
import responses
from elmo.api.client import ElmoClient
from homeassistant.config_entries import ConfigEntryState

from custom_components.econnect_metronet import async_setup
from custom_components.econnect_metronet.alarm_control_panel import EconnectAlarm
Expand Down Expand Up @@ -164,6 +165,7 @@ def config_entry(hass):
"domain": "econnect_metronet",
"system_base_url": "https://example.com",
},
state=ConfigEntryState.SETUP_IN_PROGRESS,
)
config.add_to_hass(hass)
return config

0 comments on commit b709f13

Please sign in to comment.