Should I Upgrade from 49.1 to newest Home Assistant


#21

Woo hoo! :slight_smile:

Oops!

Cool. BTW, you will need that change for the zone import lines, because that changed right after my 1.6.1 release. (I had it where it supported the old and new zone layout, but took that out thinking "who would be using that old of a version of HA?! :wink:)


#22

BTW, you’ll probably figure this out, but in the latest version, besides commenting out the json import line (which is now line 13), the other change will now be to this line (line 120):

_API_EXCS = (HTTPError, ConnectionError, Timeout, JSONDecodeError)

which should change to:

_API_EXCS = (HTTPError, ConnectionError, Timeout, ValueError)

If you get this working I can merge these changes into the custom component.


#23

@pnbruckner Ok with the latest I got these errors

2019-03-13 12:58:51 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
β€˜β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/asyncio/tasks.py”, line 233, in _step
result = coro.throw(exc)
β€˜β€™β€™β€™β€™β€™β€™β€™
File β€œ/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 61, in async_setup_component
return (yield from task)
β€˜β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/asyncio/tasks.py”, line 237, in _step
result = next(coro)
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/srv/homeassistant/lib/python3.4/site-packages/homeassistant/setup.py”, line 156, in _async_setup_component
conf_util.async_process_component_config(hass, config, domain)
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/srv/homeassistant/lib/python3.4/site-packages/homeassistant/config.py”, line 589, in async_process_component_config
platform = get_platform(domain, p_name)
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py”, line 103, in get_platform
return get_component(PLATFORM_FORMAT.format(domain, platform))
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py”, line 141, in get_component
module = importlib.import_module(path)
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/usr/lib/python3.4/importlib/init.py”, line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 2254, in _gcd_import
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 2237, in _find_and_load
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 2226, in _find_and_load_unlocked
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 1200, in _load_unlocked
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 1129, in _exec
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 1467, in exec_module
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 1572, in get_code
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 1532, in source_to_code
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œβ€, line 321, in _call_with_frames_removed
β€˜β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™β€™
File β€œ/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py”, line 223
zone = = Zone(
^
SyntaxError: invalid syntax


#24

Well, the log lines still did’t format properly. :frowning:

Anyway, you must have copied the change incorrectly. There shouldn’t be two equal signs.

I went ahead and started incorporating these changes. It’s available as a beta right now. Try this.


#25
2019-03-13 13:23:46 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 34, in <module>
    from homeassistant.const import (
ImportError: cannot import name 'ATTR_BATTERY_CHARGING'
2019-03-13 13:23:46 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2019-03-13 13:23:46 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up introduction
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up logger
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up http
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up history
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up api
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up frontend
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up discovery
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-03-13 13:23:46 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 34, in <module>
    from homeassistant.const import (
ImportError: cannot import name 'ATTR_BATTERY_CHARGING'
2019-03-13 13:23:46 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up conversation
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up group
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.1 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up zone
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up logbook
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-03-13 13:23:46 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
Failed config
  General Errors: 
    - Platform not found: device_tracker.life360

Successful config (partial)

I was just thinking, do I need both of the life360.py files because I took the one out in custom_components and put the latest files in


#26

Starting with my custom life360 component version 2.2.0 the β€œsecond life360.py file” was removed from the custom_components folder and now comes from pypi.org (and will be automatically installed by HA.) So if we stick with trying to get the latest & greatest working, (or anything based on 2.2.0 or later) you should only have the one file inside custom_components which, although named custom_components/life360/device_tracker.py in github due to the new layout, should be installed on your old system as custom_components/device_tracker/life360.py. And you should have no other life360 related file in custom_components or below.

Ok, ATTR_BATTERY_CHARGING was added in HA 0.73. I’ve updated the beta accordingly. Grab a new copy and give it a try. I feel like we’re almost there! :slight_smile:


#27

OK I now this what I’m getting, and I’m willing if you are. Thank you

I noticed there is not a composite.py file must not need it yet?

2019-03-13 13:56:44 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 34, in <module>
    from homeassistant.const import (
ImportError: cannot import name 'ATTR_NAME'
2019-03-13 13:56:44 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2019-03-13 13:56:44 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2019-03-13 13:56:43 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-03-13 13:56:43 INFO (MainThread) [homeassistant.setup] Setting up introduction
2019-03-13 13:56:43 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up logger
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up http
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up history
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up api
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up frontend
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up discovery
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up conversation
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up group
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-03-13 13:56:44 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 34, in <module>
    from homeassistant.const import (
ImportError: cannot import name 'ATTR_NAME'
2019-03-13 13:56:44 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.1 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up zone
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up logbook
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-03-13 13:56:44 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
Failed config
  General Errors: 
    - Platform not found: device_tracker.life360

Successful config (partial)

#28

Most definitely! :slight_smile:

That is a different custom device_tracker component.

Ok, latest error due to ATTR_NAME being added in 0.70. Try new beta.


#29

Ok

2019-03-13 14:18:45 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 53, in <module>
    from homeassistant.util.async_ import run_coroutine_threadsafe
ImportError: No module named 'homeassistant.util.async_'
2019-03-13 14:18:45 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2019-03-13 14:18:46 ERROR (MainThread) [homeassistant.components] Testing configuration at /home/homeassistant/.homeassistant
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up introduction
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up logger
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up recorder
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain introduction took 0.6 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.5 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up http
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up history
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up api
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up frontend
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.0 seconds.
2019-03-13 14:18:45 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.device_tracker.life360. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/loader.py", line 141, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/homeassistant/.homeassistant/custom_components/device_tracker/life360.py", line 53, in <module>
    from homeassistant.util.async_ import run_coroutine_threadsafe
ImportError: No module named 'homeassistant.util.async_'
2019-03-13 14:18:45 ERROR (MainThread) [homeassistant.loader] Unable to find component device_tracker.life360
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up conversation
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up group
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up sensor
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up updater
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up discovery
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up sun
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up zone
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain conversation took 0.1 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain group took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain updater took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain discovery took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up logbook
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain logbook took 0.0 seconds.
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-03-13 14:18:45 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.0 seconds.
Failed config
  General Errors: 
    - Platform not found: device_tracker.life360

Successful config (partial)

#30

@pnbruckner I may have downloaded the wrong file I redoing it


#31

Maybe, but that was definitely a change in HA 0.66. I just updated the beta. (It’s now 2.9.0b4.) Try grabbing a new copy now and trying again.


#32

@pnbruckner HA didn’t load and no log file removed life360.py and HA loaded.


#33

If the error is β€œbad enough”, I’ve seen where HA won’t start up and hence you can’t use the web interface. But still, it should have written something to home-assistant.log.


#34

I removed and added it 3 times never wrote in log file


#35

Well, I can try installing Python 3.4.2 and HA 0.49.1, but it will take a while.


#36

Well tell me what all will work with 1.6.1 that did load, I have alot of zones in HA


#37

I’m going to go ahead and see if I can get the latest & greatest working on 3.4.2/0.49.1. In the meantime, checkout the Release Notes and at least see the brief descriptions of what changed since 1.6.1. All the β€œbasics” should be there in 1.6.1, so you should be good to go. Let me know if you run into any problems. Also I’ll keep you posted on my attempt to get the latest working on 3.4.2/0.49.1.


#38

Also, you can find the doc version that corresponds to 1.6.1 here.


#39

OK I just installed 1.6.1 I’m going to see if all works OK.
Thanks for your help


#40

No problem. BTW, I was able to get Python 3.4.2 built and installed, but failed trying to get homeassistant 0.49.1 installed. So I’ll have to punt.