Remove ios warning for no devices subscribed to ios.notify (#29153)

Since 2019.1 has launched there is a perfectly reasonable (in fact the standard) case where ios component is loaded (i.e. actionable notifications) but no devices are registed for the now defunct `ios.notify` service. As such, the log warning relating to this case is no longer relevant.
This commit is contained in:
Tom Brien 2019-11-27 12:35:38 +00:00 committed by Franck Nijhof
parent c80f284ca4
commit 8f05388bc5

View file

@ -48,12 +48,6 @@ def get_service(hass, config, discovery_info=None):
hass.config.components.add("notify.ios")
if not ios.devices_with_push(hass):
_LOGGER.error(
"The notify.ios platform was loaded but no "
"devices exist! Please check the documentation at "
"https://home-assistant.io/ecosystem/ios/notifications"
"/ for more information"
)
return None
return iOSNotificationService()