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:
parent
c80f284ca4
commit
8f05388bc5
1 changed files with 0 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue