2022.7: A stunning performance

Now, time for your first pull request.

what file was corrupted Sam?

Just securely updated From 2022.6.7 to 2022.7.3 previous issues seem to be solved, great work to you all.

Lol just updating HACS and get

Failed to restart Home Assistant
‘<’ not supported between instances of ‘BinarySensorEntityDescription’ and ‘BinarySensorEntityDescription’

same as before with update 2022.7.3 although I am able to see the config file so thought it was working and can not run a test as it hangs. will update later if I fix it.

Not sure if this is 2022.7 but I am seeing more mobile_app auto bans than before, and Mobile app hasn’t updated lately…

what’s more, and this is almost funny, the auto created ip_bans.yaml is causing a yaml check error :wink:

Logger: homeassistant.util.yaml.loader
Source: util/yaml/loader.py:342 
First occurred: 09:15:49 (1 occurrences) 
Last logged: 09:15:49

YAML file /config/ip_bans.yaml contains duplicate key "192.168.1.204". Check lines 1 and 4

on


192.168.1.204:
  banned_at: '2022-07-10T12:05:45.381696+00:00'

192.168.1.204:
  banned_at: '2022-07-10T12:05:45.382555+00:00'

issue: https://github.com/home-assistant/core/issues/74953

Indeed, and the maintainer asked me to do that - but I’m worried i might do something incorrectly as I have never created a pull request before. Would you care to “hold my hand” ?

Anyone else with Aladdin connect unable to control garage door openers? Add any additional information on GitHub if your error is:

Aladdin Connect - Unable to retrieve configuration 'battery_level'

Turns out I had an indentation problem in my emulatedhue yaml file which was never picked up prior to upgrading to 2022.7. Just in case someone else comes across the same issue.

Thanks, but I want something I can just buy off the shelf. I find these sensors aren’t very sturdy, I’ve had to replace 5 over the last 2 or 3 years.

@robsheppard1976 further down this thread suggested this https://github.com/ThomDietrich/miflora-mqtt-daemon which looks like it’ll solve my problem.

1 Like

Has anyone had any problems with the RING or NETATMO integrations running 2022.7.x?
Neither integration looks to be able to log in.
Reverting back to 2022.6.7 fixes the problem for me.

Same with my Venstar. Seems to break anything on the Version 4 of the firmware (older models not getting the version 5 firmware).

Netatmo working fine for me (weather and climate) on 2022.7.x.

Check your logs, post them here, etc to give some info on the issue if your looking for help …

1 Like

Net gear router firmware update bricked my router now everything is down!

Change any weather unit to your preference…does this work with netatmo … ???

Yes exactly like you

Thanks. Both look like could login problems:

after installing 2022.7.0 on my RPI4

Home Assistant Core 2022.6.7

Home Assistant Supervisor 2022.07.0

Home Assistant OS 8.2

Ring won’t work:
Logger: homeassistant.config_entries Source: components/ring/init.py:78 First occurred: 2:58:41 PM (1 occurrences) Last logged: 2:58:41 PM
Error setting up entry [email protected] for ring [redacted my email address]
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/urllib3/connection.py”, line 174, in _new_conn
conn = connection.create_connection(
File “/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py”, line 72, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File “/usr/local/lib/python3.10/socket.py”, line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py”, line 703, in urlopen
httplib_response = self._make_request(
File “/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py”, line 386, in _make_request
self._validate_conn(conn)
File “/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py”, line 1042, in _validate_conn
conn.connect()
File “/usr/local/lib/python3.10/site-packages/urllib3/connection.py”, line 358, in connect
self.sock = conn = self._new_conn()
File “/usr/local/lib/python3.10/site-packages/urllib3/connection.py”, line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7faef1a350>: Failed to establish a new connection: [Errno -3] Try again

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/requests/adapters.py”, line 489, in send
resp = conn.urlopen(
File “/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py”, line 787, in urlopen
retries = retries.increment(
File “/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py”, line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host=‘api.ring.com’, port=443): Max retries exceeded with url: /clients_api/session?api_version=9 (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7faef1a350>: Failed to establish a new connection: [Errno -3] Try again’))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File “/usr/src/homeassistant/homeassistant/components/ring/init.py”, line 78, in async_setup_entry
await hass.async_add_executor_job(ring.update_data)
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.10/site-packages/ring_doorbell/init.py”, line 52, in update_data
self.create_session()
File “/usr/local/lib/python3.10/site-packages/ring_doorbell/init.py”, line 65, in create_session
self.session = self.query(
File “/usr/local/lib/python3.10/site-packages/ring_doorbell/init.py”, line 107, in query
return self.auth.query(
File “/usr/local/lib/python3.10/site-packages/ring_doorbell/auth.py”, line 94, in query
req = getattr(self._oauth, method.lower())(url, **kwargs)
File “/usr/local/lib/python3.10/site-packages/requests/sessions.py”, line 635, in post
return self.request(“POST”, url, data=data, json=json, **kwargs)
File “/usr/local/lib/python3.10/site-packages/requests_oauthlib/oauth2_session.py”, line 521, in request
return super(OAuth2Session, self).request(
File “/usr/local/lib/python3.10/site-packages/requests/sessions.py”, line 587, in request
resp = self.send(prep, **send_kwargs)
File “/usr/local/lib/python3.10/site-packages/requests/sessions.py”, line 701, in send
r = adapter.send(request, **kwargs)
File “/usr/local/lib/python3.10/site-packages/requests/adapters.py”, line 565, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘api.ring.com’, port=443): Max retries exceeded with url: /clients_api/session?api_version=9 (Caused by NewConnectionError(’<urllib3.connection.HTTPSConnection object at 0x7faef1a350>: Failed to establish a new connection: [Errno -3] Try again’))

and

Netatmo wont work:
Logger: homeassistant.config_entries Source: components/netatmo/data_handler.py:166 First occurred: 2:55:43 PM (1 occurrences) Last logged: 2:55:43 PM
Error setting up entry Configuration.yaml for netatmo
Traceback (most recent call last):
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1154, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1154, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1154, in _create_direct_connection
hosts = await asyncio.shield(host_resolved)
[Previous line repeated 1 more time]
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 867, in _resolve_host
await event.wait()
File “/usr/local/lib/python3.10/site-packages/aiohttp/locks.py”, line 34, in wait
raise self._exc
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 867, in _resolve_host
await event.wait()
File “/usr/local/lib/python3.10/site-packages/aiohttp/locks.py”, line 34, in wait
raise self._exc
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 867, in _resolve_host
await event.wait()
File “/usr/local/lib/python3.10/site-packages/aiohttp/locks.py”, line 34, in wait
raise self._exc
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 880, in _resolve_host
addrs = await self._resolver.resolve(host, port, family=self._family)
File “/usr/local/lib/python3.10/site-packages/aiohttp/resolver.py”, line 33, in resolve
infos = await self._loop.getaddrinfo(
File “/usr/local/lib/python3.10/asyncio/base_events.py”, line 860, in getaddrinfo
return await self.run_in_executor(
File “/usr/local/lib/python3.10/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.10/socket.py”, line 955, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 353, in async_setup
result = await component.async_setup_entry(hass, self)
File “/usr/src/homeassistant/homeassistant/components/netatmo/init.py”, line 153, in async_setup_entry
await data_handler.async_setup()
File “/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py”, line 108, in async_setup
await asyncio.gather(
File “/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py”, line 210, in register_data_class
await self.async_fetch_data(data_class_entry)
File “/usr/src/homeassistant/homeassistant/components/netatmo/data_handler.py”, line 166, in async_fetch_data
await self.data[data_class_entry].async_update()
File “/usr/local/lib/python3.10/site-packages/pyatmo/climate.py”, line 492, in async_update
resp = await self.auth.async_post_request(url=_GETHOMESDATA_REQ)
File “/usr/local/lib/python3.10/site-packages/pyatmo/auth.py”, line 335, in async_post_request
async with self.websession.post(
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 1138, in aenter
self._resp = await self._coro
File “/usr/local/lib/python3.10/site-packages/aiohttp/client.py”, line 535, in _request
conn = await self._connector.connect(
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File “/usr/local/lib/python3.10/site-packages/aiohttp/connector.py”, line 1166, in _create_direct_connection
raise ClientConnectorError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host api.netatmo.com:443 ssl:default [Try again]

I now have this running in a docker too. Except for the pushing to HA part. I set the config.ini to use mqtt-homeassistant as reporting method. It pushes to mqtt and publishes in homeassistant/sensor/flower3/state, but it doesn’t get picked up by the mqtt integration, do you see this too?

What exactly do you mean by this?

I added:

  - /var/run/dbus:/var/run/dbus

in the docker-compose file with the HA container.

I now don’t have the Error 2 anymore as mentioned above, but now I have the following:

Unable to fetch switchbot services data

As @ptdalen posted he found the solution here:

2 Likes

I’e found that I need to update my RPI_GPIO HACs integration after a core update. Then reboot. it works fine again.

Yes your system should tell you that, which makes the whole thing really easy.