mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use config_entries.SOURCE_* constants (#49631)
This commit is contained in:
@@ -32,7 +32,7 @@ from homeassistant.components.ssdp import (
|
||||
ATTR_UPNP_UDN,
|
||||
)
|
||||
from homeassistant.components.switch import DOMAIN as SWITCH_DOMAIN
|
||||
from homeassistant.config_entries import CONN_CLASS_LOCAL_PUSH, SOURCE_SSDP
|
||||
from homeassistant.config_entries import CONN_CLASS_LOCAL_PUSH, SOURCE_SSDP, SOURCE_USER
|
||||
from homeassistant.const import (
|
||||
CONF_API_KEY,
|
||||
CONF_HOST,
|
||||
@@ -109,7 +109,7 @@ async def setup_deconz_integration(
|
||||
get_state_response=DECONZ_WEB_REQUEST,
|
||||
entry_id="1",
|
||||
unique_id=BRIDGEID,
|
||||
source="user",
|
||||
source=SOURCE_USER,
|
||||
):
|
||||
"""Create the deCONZ gateway."""
|
||||
config_entry = MockConfigEntry(
|
||||
|
||||
Reference in New Issue
Block a user