Clarification on error message

I just updated Hassbian and my PuTTY window shows the following as the last line:

/usr/local/bin/hassbian-config: line 161: /srv/homeassistant/hassbian/control/homeassistant: Is a directory

I looked at my configuration.yaml file and lines 149 to 166 read as follows:

> sensor:
>   - platform: yweather
>     monitored_conditions:
>       - weather
>       - weather_current
>       - temp_min
>       - temp_max
>       - wind_speed
>       - pressure
>       - visibility
>       - humidity
>       - temperature
>   - platform: moon
>   - platform: command_line
>     name: SSL cert expiry
>     unit_of_measurement: days
>     scan_interval: 10800
>     command: "ssl-cert-check -b -c /etc/letsencrypt/live/madmax1412.duckdns.org/cert.pem | awk '{ print $NF }'"

I’m confused about what it’s talking about.

Thanks in advance.

Activate the venv and then run a configuration check:

sudo -u homeassistant -H -s
source /srv/homeassistant/bin/activate
hass --script check_config

it came back with:

INFO:homeassistant.util.package:Attempting install of colorlog==4.1.0
Testing configuration at /home/homeassistant/.homeassistant
WARNING:homeassistant.components.device_tracker:The 'hide_if_away' option (with value 'False') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
WARNING:homeassistant.components.group:The 'view' option (with value 'True') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
WARNING:homeassistant.components.group:The 'view' option (with value 'True') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
WARNING:homeassistant.components.group:The 'view' option (with value 'True') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
WARNING:homeassistant.components.group:The 'view' option (with value 'True') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
WARNING:homeassistant.components.group:The 'view' option (with value 'True') is deprecated, please remove it from your configuration. This option will become invalid in version 0.107.0
INFO:homeassistant.util.package:Attempting install of HAP-python==2.7.0
Failed config
  General Errors:
    - Platform error device_tracker.life360 - cannot import name 'run_coroutine_threadsafe' from 'homeassistant.util.async_' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/async_py)

Successful config (partial)

I gather I just need to remove the “view” line from the following section of my Configuration.yaml file for the first part of the error.

group:
####VIEWS
  environment_view:
    view: yes
    name: Environment
    entities:
     - group.Environment
  master_bedroom_view:
    view: yes
    name: Master Bedroom
    entities:
     - group.Master_Bedroom
  kitchen_view:
    view: yes
    name: Kitchen
    entities:
     - group.Kitchen
  entertainment_area_view:
    view: yes
    name: Entertainment Area
    entities:
     - group.Entertainment_Area
  front_patio_view:
    view: yes
    name: Front Patio
    entities:
     - group.Front_Patio

As for the error that reads:

Failed config
  General Errors:
    - Platform error device_tracker.life360 - cannot import name 'run_coroutine_threadsafe' from 'homeassistant.util.async_' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/util/async_py)

I don’t know anything about a “run_coroutine_threadsafe”???

In my Configuration.yaml file, I just have:

device_tracker:
  - platform: fritz
    host: 192.168.178.1
#    user: !secret fritz_username
#    password: !secret fritz_password

  - platform: life360
    username: !secret life360_username
    password: !secret life360_password
    prefix: life360
#    show_as_state: driving, moving, places
#    driving_speed: 18
#    add_zones: true
    add_zones: all
    home_place: Home

I guess I could remove it as my Home Assistant page used to have icons at the top showing the status of people (eg me, showing “At Home” or “Away”) but they no longer show.

You’re not using a custom component for Life360?

I’d check to see if there’s an existing issue and if not open one.

Not sure what’s classed as a “custom component” but the above config plus another section that reads as follows is all I have in Configuration.yaml

logger:
  default: info
  logs:
    custom_components.life360: debug

Other than that, the only things I have in any files is in the known_devices.yaml file which has info on where to find the icon picture etc, so it reads like:

life360_max_schafer:
  hide_if_away: false
  icon:
  mac:
  name: life360 max schafer
  picture: https://www.life360.com/img/user_images/the rest hidden for privacy reasons
  track: true

I’ll have a look at the link you posted.

Thanks