From b34ce577d9d8091a4775e86e2d94f560b1797621 Mon Sep 17 00:00:00 2001 From: rajlaud <50647620+rajlaud@users.noreply.github.com> Date: Wed, 17 Jun 2020 18:08:26 -0500 Subject: [PATCH] Add discovery to list of configuration flow sources whose entries can be ignored (#6185) Add "discovery" to the list of configuration flow sources whose config flow entries can be ignored. For example, https://github.com/home-assistant/core/pull/35669. I've tested it on the squeezebox integration and it works. --- src/data/config_flow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/config_flow.ts b/src/data/config_flow.ts index cc89c4124e..983d6a52d0 100644 --- a/src/data/config_flow.ts +++ b/src/data/config_flow.ts @@ -5,7 +5,7 @@ import { HomeAssistant } from "../types"; import { DataEntryFlowProgress, DataEntryFlowStep } from "./data_entry_flow"; import { domainToName } from "./integration"; -export const DISCOVERY_SOURCES = ["unignore", "homekit", "ssdp", "zeroconf"]; +export const DISCOVERY_SOURCES = ["unignore", "homekit", "ssdp", "zeroconf", "discovery"]; export const createConfigFlow = (hass: HomeAssistant, handler: string) => hass.callApi("POST", "config/config_entries/flow", {