diff --git a/homeassistant/components/ios.py b/homeassistant/components/ios.py index dac03f1a07b..ce110c017d6 100644 --- a/homeassistant/components/ios.py +++ b/homeassistant/components/ios.py @@ -250,7 +250,7 @@ def setup(hass, config): hass.http.register_view(iOSIdentifyDeviceView(hass)) app_config = config.get(DOMAIN, {}) - hass.wsgi.register_view(iOSPushConfigView(hass, + hass.http.register_view(iOSPushConfigView(hass, app_config.get(CONF_PUSH, {}))) return True