From 8f05388bc51477ac972c9fb96063d6d60f4f0606 Mon Sep 17 00:00:00 2001 From: Tom Brien Date: Wed, 27 Nov 2019 12:35:38 +0000 Subject: [PATCH] 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. --- homeassistant/components/ios/notify.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index ee74b369629..80dbad5336d 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -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()