2021.3: My Oh My

No, it is not… My primary-text-color is what you can see on the screenshot as dimmed text below option name (marked in blue on screenshot):


As I explained - this color is different from any other color I use in my theme, so I did not defined it. My themes are quite comprehensive, some time ago I spend quite a bit of time investigating colors used in HA… yet this is new… that’s why I’m asking.

Great update again.
However when I try to call a service via the developer tools, I always get the following error:

Failed to call service light/toggle. Sequence item 0: expected str instance, Optional found

This happens wether I use the gui or yaml mode

Same for me, it needs a reload each day !!! Meross addon has some problems with this new version.

OK, I found where the problem is. Inmy theme thsi color is defined as follows:

dimmed-text: "#A4A7B4"
primary-text-color: var(--dimmed-text)

So apparently this is the first case I come along where this sort of color inheritance is not working… I changed this to same color explicitly and it worked…

Since the update I have problems with the Speedtest component.
I get this graph now:


2
It has gaps between the data points.
I get this Error:

2021-03-10 14:30:02 ERROR (MainThread) [homeassistant.components.speedtestdotnet] Unexpected error fetching speedtestdotnet data: Unable to connect to servers to test latency.
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/speedtest.py", line 1489, in get_best_server
    fastest = sorted(results.keys())[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in async_refresh
    self.data = await self._async_update_data()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 139, in _async_update_data
    return await self.update_method()
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/__init__.py", line 174, in async_update
    return await self.hass.async_add_executor_job(self.update_data)
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/homeassistant/homeassistant/components/speedtestdotnet/__init__.py", line 162, in update_data
    self.api.get_best_server()
  File "/usr/local/lib/python3.8/site-packages/speedtest.py", line 1491, in get_best_server
    raise SpeedtestBestServerFailure('Unable to connect to servers to '
speedtest.SpeedtestBestServerFailure: Unable to connect to servers to test latency.

I meassure the speed every 15 minutes with this automation.

- alias: run_internet_speedtest
  initial_state: true
  mode: single
  trigger:
    - platform: time_pattern
      minutes: 0
    - platform: time_pattern
      minutes: 15
    - platform: time_pattern
      minutes: 30
    - platform: time_pattern
      minutes: 45      
  action:
    - service: speedtestdotnet.speedtest
    
    - wait_template: '{{ (as_timestamp(now()) | int - as_timestamp(states.sensor.speedtest_upload.last_updated) | default(0) | int) < 20 }}'
      timeout: '00:01:00'
      continue_on_timeout: 'true' 
    - delay: 
        milliseconds: 500    
    
    - service: fastdotcom.speedtest

Anyone else with the same problem?

Availability issues aside, I hope you have an unlimited data plan. That’s a lot of data.

2 Likes

I don’t get the fascination on constantly checking internet speed?

1 Like

When you pay for a specific rate and the provider doesn’t meet that rate, you can get money back.

Ah ok, I see. Ironically while youre running speedtests youre starving your bandwidth for the devices so not getting the speed you wanted anyway.

1 Like

Yes, I have an unlimited data plan.

When your speeds are 100mb+ it doesn’t really make a difference tbh

I created it on github :slight_smile: https://github.com/home-assistant/core/issues/47613

Any idea why I am seeing this and which should I believe?

Hello all,
after an update to 2021.3.3 from 2021.2.0, I’m not able to get the frontend up and running.
This is the home-assistant.log:

2021-03-10 23:35:37 WARNING (MainThread) [homeassistant.loader] You are using a custom integration hacs which has not been tested by Home Assistant. This component mig$
2021-03-10 23:35:37 WARNING (MainThread) [homeassistant.loader] You are using a custom integration tapo_control which has not been tested by Home Assistant. This compo$
2021-03-10 23:35:37 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'tapo_control'. This will not be allowed i$
2021-03-10 23:35:51 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/homeassistant/.homeas$
2021-03-10 23:35:52 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=55 from 2021-03-10 22:27:12.153595)
2021-03-10 23:37:09 ERROR (MainThread) [homeassistant.bootstrap] Error setting up integration frontend - received exception
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/setup.py", line 64, in async_setup_component
    return await task  # type: ignore
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/setup.py", line 158, in _async_setup_component
    await async_process_deps_reqs(hass, config, integration)
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/setup.py", line 343, in async_process_deps_reqs
    await requirements.async_get_integration_with_requirements(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/requirements.py", line 79, in async_get_integration_with_requirements
    await async_process_requirements(
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/requirements.py", line 126, in async_process_requirements
    if pkg_util.is_installed(req):
  File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/util/package.py", line 44, in is_installed
    return version(req.project_name) in req
  File "/srv/homeassistant/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3143, in __contains__
    return self.specifier.contains(item, prereleases=True)
  File "/srv/homeassistant/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/specifiers.py", line 681, in contains
    item = parse(item)
  File "/srv/homeassistant/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py", line 28, in parse
    return Version(version)
  File "/srv/homeassistant/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py", line 219, in __init__
    match = self._regex.search(version)
TypeError: expected string or bytes-like object
2021-03-10 23:37:09 WARNING (MainThread) [homeassistant.loader] You are using a custom integration tapo_p100_control which has not been tested by Home Assistant. This $
2021-03-10 23:37:09 WARNING (MainThread) [homeassistant.loader] No 'version' key in the manifest file for custom integration 'tapo_p100_control'. This will not be allo$
2021-03-10 23:37:10 ERROR (MainThread) [homeassistant.components.cert_expiry] Error fetching myhome.duckdns.org:8123 data: Connection refused by server: myhome.d$
2021-03-10 23:37:10 WARNING (MainThread) [homeassistant.config_entries] Config entry 'myhome.duckdns.org:8123' for cert_expiry integration not ready yet. Retrying i$
2021-03-10 23:37:15 ERROR (MainThread) [custom_components.tapo_control] Unable to connect to Tapo: Cameras Control controller: HTTPSConnectionPool(host='192.168.1.24',$
2021-03-10 23:37:15 WARNING (MainThread) [homeassistant.config_entries] Config entry '192.168.1.24' for tapo_control integration not ready yet. Retrying in background
2021-03-10 23:37:15 WARNING (MainThread) [homeassistant.components.onvif] Couldn't connect to camera 'CH2', but will retry later. Error: [Errno 113] Connect call faile$
2021-03-10 23:37:15 WARNING (MainThread) [homeassistant.config_entries] Config entry 'CH2 - C0:C9:E3:5A:72:35' for onvif integration not ready yet. Retrying in backgro$
2021-03-10 23:37:15 ERROR (MainThread) [homeassistant.components.cert_expiry] Error fetching myhome.duckdns.org:8123 data: Connection refused by server: myhome.d$
2021-03-10 23:37:16 ERROR (SyncWorker_0) [custom_components.tapo_p100_control.switch] Could not connect to plug. Possibly invalid credentials
2021-03-10 23:37:19 ERROR (MainThread) [homeassistant.components.switch] Error while setting up tapo_p100_control platform for switch

I guess the problem is the connection refused by the server, due to cert_expiry.
Would somebody be so kind to give me some suggest?
Thanks a lot

I think his UI says there’s an update from 2021.3.2 to 2021.3.3, but his logs say he is already on 2021.3.3.

@shieldsit have you restated and cleared cache?

Oh ok, I didn’t look at the background text… my bad

I wonder why ASUSWRT cannot be managed via configuration.yaml anymore?
This is a very big inconvenience for me.
I prefer to manage settings via yaml…

I’m successfully running core-2021.3.2, attempted to upgrade to core-2021.3.3 but I got this error when adjusting the temp on my zwave go control thermostat.


I had to roll back to core-2021.3.2 from snapshot. Are there any issue trackers in for this?

For the same reasons all other integrations cannot be managed from there.

Did you try to read the error message yet? It’s expecting that you provide the value target_temp_high.