Wow.
Ok lets start at the beginning:
`019-07-02 11:40:07 WARNING (MainThread) [homeassistant.loader]
You are using a custom integration for hacs which has not been tested
by Home Assistant. `
Why are you getting this error?
If you installed HACS correctly you should not be seeing it.
Fix your authentication settings.
*`2019-07-02 11:40:07 WARNING (MainThread)
[homeassistant.components.http] Configuring api_password via the http
component has been deprecated. Use the legacy api password auth provider
instead. For instructions, see
https://www.home-assistant.io/docs/authentication/providers/#legacy-api-password`*
Do you see the error below every time you restart? This is probably related to your problem. What’s causing it?
You could try deleting your database and restarting (you will lose you previously saved data). <path to config dir>/.homeassistant/home-assistant_v2.db
However, fix all these other errors first and see if that helps.
2019-07-02 11:40:09 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=247 from 2019-07-01 18:11:55.575086)
Delete this sensor.
WARNING (SyncWorker_4) [homeassistant.components.darksky.sensor] Monitored condition temperature_max is deprecated
You have a duplicate entity_id (calendar.contacts). Delete it.
2019-07-02 11:40:21 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 357, in _async_add_entity raise HomeAssistantError(msg) homeassistant.exceptions.HomeAssistantError: Entity id already exists: calendar.contacts
You have an invalid key defined for one of your sensors (‘mainus’). Delete/fix it.
2019-07-02 11:40:22 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds. 2019-07-02 11:40:23 ERROR (MainThread) [homeassistant.components.sensor] airvisual: Error on device update! Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 261, in _async_add_entity await entity.async_device_update(warning=False) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 375, in async_device_update await self.async_update() File "/usr/src/homeassistant/homeassistant/components/airvisual/sensor.py", line 244, in async_update symbol = data['main{0}'.format(self._locale)] KeyError: 'mainus'