mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
[component/ios] Discover notify.ios when iOS component loads (#5548)
This commit is contained in:
parent
2cf2dcd9ba
commit
9bd5378fe4
@ -244,9 +244,7 @@ def setup(hass, config):
|
|||||||
if CONFIG_FILE == {}:
|
if CONFIG_FILE == {}:
|
||||||
CONFIG_FILE[ATTR_DEVICES] = {}
|
CONFIG_FILE[ATTR_DEVICES] = {}
|
||||||
|
|
||||||
# Notify needs to have discovery
|
discovery.load_platform(hass, "notify", DOMAIN, {}, config)
|
||||||
# notify_config = {"notify": {CONF_PLATFORM: "ios"}}
|
|
||||||
# bootstrap.setup_component(hass, "notify", notify_config)
|
|
||||||
|
|
||||||
discovery.load_platform(hass, "sensor", DOMAIN, {}, config)
|
discovery.load_platform(hass, "sensor", DOMAIN, {}, config)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user