indeed that’s what I see warnings and errors. And I haven’t changed anything in the logging settings. Looking at the individual logs it looks to me like the culprit “home assistant core” earlier I had about 12000 warning for my volume media player. It is switched off when not in use cause it runs on a different RPI.
Logger: homeassistant.helpers.entity
Source: components/volumio/media_player.py:85
First occurred: 9:46:46 PM (240 occurrences)
Last logged: 10:26:37 PM
Update for media_player.denon_audio fails
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1064, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1049, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.10/asyncio/base_events.py", line 960, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 500, in sock_connect
return await fut
File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 535, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
OSError: [Errno 113] Connect call failed ('xxx.xxx.xxx.xxx', 3000)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pyvolumio/volumio.py", line 49, in _get_volumio_msg
response = await self._session.get(url, params=params)
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 1206, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host xxx.xxx.xxx.xxx:3000 ssl:default [Connect call failed ('xxx.xxx.xxx.xxx', 3000)]
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 548, in async_update_ha_state
await self.async_device_update()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 746, in async_device_update
raise exc
File "/usr/src/homeassistant/homeassistant/components/volumio/media_player.py", line 85, in async_update
self._state = await self._volumio.get_state()
File "/usr/local/lib/python3.10/site-packages/pyvolumio/volumio.py", line 75, in get_state
response = await self._get_volumio_msg("getState")
File "/usr/local/lib/python3.10/site-packages/pyvolumio/volumio.py", line 58, in _get_volumio_msg
raise CannotConnectError() from error
pyvolumio.volumio.CannotConnectError
Can I simply delete the home_assistant.log file?