2020.12: Automate with Blueprints!

Minimum version for 1.90 is 2020.12 so that’s why youre not seeing it.

Updated to 2020.12, then updated HACS, all good. Thanks.

1 Like

Except, three Denon receivers and three DirecTV media players all unavailable…, worked fine with 118.5. Reboot does not fix? From the logs below, fix is in the works, per GitHub conversations for Denon issue.

Logger: homeassistant.config_entries
Source: components/denonavr/receiver.py:66
First occurred: 9:53:49 PM (3 occurrences)
Last logged: 9:53:49 PM

Error setting up entry Denon AVR-X3400H for denonavr
Error setting up entry Denon AVR-X3200W for denonavr
Error setting up entry Denon AVR-X2100W for denonavr
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 236, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File “/usr/src/homeassistant/homeassistant/components/denonavr/init.py”, line 71, in async_setup_entry
if not await connect_denonavr.async_connect_receiver():
File “/usr/src/homeassistant/homeassistant/components/denonavr/receiver.py”, line 33, in async_connect_receiver
if not await self._hass.async_add_executor_job(self.init_receiver_class):
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/denonavr/receiver.py”, line 66, in init_receiver_class
self._receiver = denonavr.DenonAVR(
File “/usr/local/lib/python3.8/site-packages/denonavr/denonavr.py”, line 344, in init
self.update()
File “/usr/local/lib/python3.8/site-packages/denonavr/denonavr.py”, line 527, in update
return bool(self._update_avr_2016())
File “/usr/local/lib/python3.8/site-packages/denonavr/denonavr.py”, line 644, in _update_avr_2016
executor.submit(self._audyssey.update())
File “/usr/local/lib/python3.8/site-packages/denonavr/audyssey.py”, line 109, in update
self.dynamiceq = bool(int(param.text))
TypeError: int() argument must be a string, a bytes-like object or a number, not ‘NoneType’

If no one alreday share it : for guys with PI4 and SSD : do not update HASS OS 5.8 as it won’t boot anymore after updating. It is safe to stay with 5.4.

1 Like

@Nickrout,

I use only the Overview page

Anyonw with issues with envoy integration?
Mine stop update

There’s an issue with the denon integration, I think a fix is on the way, cant find the github issue at the moment.

Same problem here with denon integration. Just go back to 118.4 and works now. I skip this version and will try the next one.

I have the Denon issue as well, I think they have sorted it but will be released in the next update. I cant find the github issue either now but there certainly was one and it looked like they had sorted it.

I have a problem with a robot vacuum integration since the update but it has me completely confused.

The integration is for vacuums controlled by the Weback APP which was reverse engineered https://github.com/opravdin/weback-unofficial and a hassio integration https://github.com/opravdin/weback-hass which has always worked well.

The error is due to an SSL issue

Logger: homeassistant.components.vacuum
Source: custom_components/weback/vacuum.py:64
Integration: Vacuum (documentation, issues)
First occurred: 15 December 2020, 6:19:17 (1 occurrences)
Last logged: 15 December 2020, 6:19:17

weback: Error on device update!
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 428, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.8/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/local/lib/python3.8/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/botocore/httpsession.py", line 254, in send
    urllib_response = conn.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 506, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 411, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 428, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.8/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/local/lib/python3.8/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.8/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 359, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 466, in async_device_update
    await task
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/weback/vacuum.py", line 64, in update
    self.device.update()
  File "/usr/local/lib/python3.8/site-packages/weback_unofficial/client.py", line 165, in update
    shadow = self.client.get_device_shadow(self.name)
  File "/usr/local/lib/python3.8/site-packages/weback_unofficial/client.py", line 102, in get_device_shadow
    resp = client.get_thing_shadow(thingName=device_name)
  File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 647, in _make_api_call
    http, parsed_response = self._make_request(
  File "/usr/local/lib/python3.8/site-packages/botocore/client.py", line 667, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "/usr/local/lib/python3.8/site-packages/botocore/endpoint.py", line 102, in make_request
    return self._send_request(request_dict, operation_model)
  File "/usr/local/lib/python3.8/site-packages/botocore/endpoint.py", line 136, in _send_request
    while self._needs_retry(attempts, operation_model, request_dict,
  File "/usr/local/lib/python3.8/site-packages/botocore/endpoint.py", line 228, in _needs_retry
    responses = self._event_emitter.emit(
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 356, in emit
    return self._emitter.emit(aliased_event_name, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 228, in emit
    return self._emit(event_name, kwargs)
  File "/usr/local/lib/python3.8/site-packages/botocore/hooks.py", line 211, in _emit
    response = handler(**kwargs)
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 183, in __call__
    if self._checker(attempts, response, caught_exception):
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 250, in __call__
    should_retry = self._should_retry(attempt_number, response,
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 277, in _should_retry
    return self._checker(attempt_number, response, caught_exception)
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 316, in __call__
    checker_response = checker(attempt_number, response,
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 222, in __call__
    return self._check_caught_exception(
  File "/usr/local/lib/python3.8/site-packages/botocore/retryhandler.py", line 359, in _check_caught_exception
    raise caught_exception
  File "/usr/local/lib/python3.8/site-packages/botocore/endpoint.py", line 200, in _do_get_response
    http_response = self._send(request)
  File "/usr/local/lib/python3.8/site-packages/botocore/endpoint.py", line 244, in _send
    return self.http_session.send(request)
  File "/usr/local/lib/python3.8/site-packages/botocore/httpsession.py", line 281, in send
    raise SSLError(endpoint_url=request.url, error=e)
botocore.exceptions.SSLError: SSL validation failed for https://data.iot.eu-central-1.amazonaws.com/things/zeglint-d5-2c-f4-32-56-36-fe/shadow [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1124)

Which does make sense because if you go to the URL it is an old Symantec cert which has been revoked.

But I setup the weback-unofficial module in python3 it works fine in Ubuntu 20 and on Windows Python 3.9 so I don’t know if it is something updated in Hassio that’s actually causing the problem.

Does that make any sense ?

Any ideas why I get this error message when trying to update to the latest core:

20-12-16 10:32:59 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2020.12.0
20-12-16 10:32:59 INFO (SyncWorker_4) [supervisor.docker.interface] Updating image homeassistant/raspberrypi4-homeassistant:0.118.5 to homeassistant/raspberrypi4-homeassistant:2020.12.0
20-12-16 10:32:59 INFO (SyncWorker_4) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi4-homeassistant with tag 2020.12.0.
20-12-16 10:33:10 ERROR (SyncWorker_4) [supervisor.docker.interface] Can’t install homeassistant/raspberrypi4-homeassistant:2020.12.0 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=2020.12.0&fromImage=homeassistant%2Fraspberrypi4-homeassistant: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: dial tcp: lookup registry-1.docker.io: no such host”).
20-12-16 10:33:10 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed

This message

dial tcp: lookup registry-1.docker.io: no such host

Looks like a DNS issue but I would of thought you would be seeing more problems if it couldn’t resolve anything on the web.

If you can get to the cli, try and ping registry-1.docker.io and see if it resolves.

Hmm, not sure how to do that or what you’re asking. I’m running HA on a Raspberry Pi4, installed by a complete image, and accessing via SSH and Samba, with no obvious CLI option.
And what would a ping do, other than prove it’s responding. Would it initialise something as well?
Sorry for the basic questions… lack of experience here I’m afraid.

It’s just to prove your Pi has internet access and can resolve websites properly.

If you have a look in Supervisor > Addons there is one called Terminal & SSH if you install that you can test your DNS is working properly.

To be fair if it installs your DNS must be working anyway.

I don’t use default_config either, and I can confirm you don’t need to add anything to configuration.yaml to get the blueprint functionality.

Since I want to mostly mimic the default_config, but exclude a few things, here is what I do before upgrading to a new version: I go to https://www.home-assistant.io/integrations/default_config/ and check if they have added anything to the list. Then I decide if I it is something I need/want and in that case I add it to my configuration.yaml as well. As far as I can tell there isn’t anything added for version 2020.12.

1 Like

If you have ssh access that is where you have command line interface or with a monitor and keyboard connected. I use ssh & web terminal installed as an add-on.

oh dear, going from bad to REALLY bad!!
I’ve tried updating all the items that have offered an update in the last couple of days to try and resolve the issue, and now the RPi won’t boot. Reading some forum messages, others are experiencing the same…
This is pointing to a total rebuild from scatch … aaagh.

Yea it looks like some of the Pi users upgrading to OS 5.8 are having problems.

If you get back up and running it would be worth having a look at the google drive backup addon, bit late now if it is completely stuck.

Have you got a keyboard and monitor attached, if it boots the OS at least you can try downgrading the OS by typing something like os update --version=5.6 or 5.7 and see if it works.

Yes I have same issue now too - Envoy does not update.

ok, rebuilt, back up and running. Good job I’m new to this so not much additional work to do.
Now to backup my sdcard before going further.
At least I’m now at 2020.12.7 from the rebuild.
Thanks for your support.

That is the supervisor not the HA core version.