[component/ios] Discover notify.ios when iOS component loads (#5548)

This commit is contained in:
Robbie Trencheny 2017-01-24 20:57:48 -08:00 committed by Johann Kellerman
parent 2cf2dcd9ba
commit 9bd5378fe4

View file

@ -244,9 +244,7 @@ def setup(hass, config):
if CONFIG_FILE == {}:
CONFIG_FILE[ATTR_DEVICES] = {}
# Notify needs to have discovery
# notify_config = {"notify": {CONF_PLATFORM: "ios"}}
# bootstrap.setup_component(hass, "notify", notify_config)
discovery.load_platform(hass, "notify", DOMAIN, {}, config)
discovery.load_platform(hass, "sensor", DOMAIN, {}, config)