Hello guys,
I RTFM. I did add mobile_app (not default_config because the components behind are configured for my needs individually), the discovery line was already in my configuration.yaml
As it was not working
ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: cloud
Despite what is written, the cloud component seems mandatory, at least in my configuration.
So I added the cloud line in the configuration.yaml, without success:
INFO (SyncWorker_6) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
INFO (SyncWorker_8) [homeassistant.loader] Loaded mobile_app from homeassistant.components.mobile_app
ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component
ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: cloud
ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
Working in IT for 25 years, I tried to increase the logger level and there is basically nothing more in the log:
ERROR (MainThread) [homeassistant.setup] Setup failed for cloud: Unable to import component
DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- cloud
Please check your config., notification_id=invalid_config>
DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- cloud
Please check your config. @ 2019-11-27T16:01:33.181916+01:00>>
ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of mobile_app. Setup failed for dependencies: cloud
INFO (SyncWorker_6) [homeassistant.loader] Loaded google_translate from homeassistant.components.google_translate
ERROR (MainThread) [homeassistant.setup] Setup failed for mobile_app: Could not set up all dependencies.
DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- cloud
- [mobile-app](https://home-assistant.io/integrations/mobile_app/)
Please check your config., notification_id=invalid_config>
And, for good measure, here is part of my configuration.yaml, nothing fancy here:
homeassistant:
# Customization file
customize: !include customize.yaml
# auth_providers:
# - type: homeassistant
# - type: legacy_api_password
# api_password: !secret http_password
logger:
default: notset
# MQTT Broker
mqtt:
broker: localhost
username: mqtt_user
password: !secret mqtt_password
system_health:
# Enable the auth component
#auth:
recorder:
purge_keep_days: 5
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes/
javascript_version: latest
homekit:
# Enables configuration UI
config:
# iOS alerts
ios:
# Discover some devices automatically
discovery:
# Cloud
cloud:
# Mobile application
mobile_app: