H
HASS.Agent•8mo ago
ewonais

media player disappeared

when i uppdated core to 24.5
No description
15 Replies
DrR0x
DrR0x•8mo ago
Somebody was typing quick 😂 What version of hass.agent do you have?
Amadeo
Amadeo•8mo ago
please see https://github.com/hass-agent/HASS.Agent/issues/75 it's a workaround untill a full fix is created 🙂
GitHub
Bug: Latest HA Core update 2024.5.0 breaks notification entities. ·...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug The latest HA Core update (2024.5.0) stops hass.agent from creating any notify entities. ...
ewonais
ewonaisOP•8mo ago
GitHub
Bug: Latest HA Core update 2024.5.0 breaks notification entities. ·...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug The latest HA Core update (2024.5.0) stops hass.agent from creating any notify entities. ...
DrR0x
DrR0x•8mo ago
Thought this may be the case, had to check what version because ewonais is active in both servers
ewonais
ewonaisOP•8mo ago
v201
H.B.A
H.B.A•8mo ago
This fixed the notifications but not the media players Is there a fix for the Media Player?
Amadeo
Amadeo•8mo ago
should fix both or none, are there any logs in the Home Asistant?
H.B.A
H.B.A•8mo ago
Logger: homeassistant.helpers.service
Source: helpers/service.py:279
First occurred: 4:00:00 PM (6 occurrences)
Last logged: 4:59:57 PM

Referenced entities media_player.hba_pc are missing or not currently available
Logger: homeassistant.helpers.service
Source: helpers/service.py:279
First occurred: 4:00:00 PM (6 occurrences)
Last logged: 4:59:57 PM

Referenced entities media_player.hba_pc are missing or not currently available
H.B.A
H.B.A•8mo ago
No description
H.B.A
H.B.A•8mo ago
Logger: homeassistant.config_entries
Source: config_entries.py:772
First occurred: 5:01:22 PM (1 occurrences)
Last logged: 5:01:22 PM

Error unloading entry hba-pc for hass_agent
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 772, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hass_agent/__init__.py", line 203, in async_unload_entry
return unload_ok
^^^^^^^^^
UnboundLocalError: cannot access local variable 'unload_ok' where it is not associated with a value
Logger: homeassistant.config_entries
Source: config_entries.py:772
First occurred: 5:01:22 PM (1 occurrences)
Last logged: 5:01:22 PM

Error unloading entry hba-pc for hass_agent
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 772, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/hass_agent/__init__.py", line 203, in async_unload_entry
return unload_ok
^^^^^^^^^
UnboundLocalError: cannot access local variable 'unload_ok' where it is not associated with a value
This error originated from a custom integration.

Logger: py.warnings
Source: custom_components/hass_agent/__init__.py:124
integration: HASS.Agent (documentation, issues)
First occurred: 3:56:31 PM (2 occurrences)
Last logged: 5:01:19 PM

/config/custom_components/hass_agent/__init__.py:124: RuntimeWarning: coroutine 'update_device_info' was never awaited update_device_info(hass, entry, response_json)
This error originated from a custom integration.

Logger: py.warnings
Source: custom_components/hass_agent/__init__.py:124
integration: HASS.Agent (documentation, issues)
First occurred: 3:56:31 PM (2 occurrences)
Last logged: 5:01:19 PM

/config/custom_components/hass_agent/__init__.py:124: RuntimeWarning: coroutine 'update_device_info' was never awaited update_device_info(hass, entry, response_json)
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/hass_agent/__init__.py:76
integration: HASS.Agent (documentation, issues)
First occurred: 5:01:27 PM (1 occurrences)
Last logged: 5:01:27 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hass_agent/__init__.py", line 76, in handle_apis_changed
_logger.debug("loading notify for device: %s", device.name)
^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'
This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/hass_agent/__init__.py:76
integration: HASS.Agent (documentation, issues)
First occurred: 5:01:27 PM (1 occurrences)
Last logged: 5:01:27 PM

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hass_agent/__init__.py", line 76, in handle_apis_changed
_logger.debug("loading notify for device: %s", device.name)
^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'name'
as you can see, many errors and warnings
Amadeo
Amadeo•8mo ago
is this device added manually instead of autodiscovery?
H.B.A
H.B.A•8mo ago
It was added using autodiscovery a long time ago, but I just deleted it and added it manually just now because even after doing the fix and restarting HA, it was still missing
Amadeo
Amadeo•8mo ago
ok, so, to get the errors sorted out one more line needs to be modified in the py file - https://github.com/hass-agent/HASS.Agent/issues/75#issuecomment-2094806100 (I edited my original comment to reflect it) in regards for the media player and device added manually, unfortunately: https://b.chihi.ro/TgcLa0.png
GitHub
Bug: Latest HA Core update 2024.5.0 breaks notification entities. ·...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug The latest HA Core update (2024.5.0) stops hass.agent from creating any notify entities. ...
Amadeo
Amadeo•8mo ago
please check those steps (in order) as it helped other user with the same thing - https://github.com/hass-agent/HASS.Agent/issues/75#issuecomment-2092679229 if not, we'll try to pinpoint the issue
GitHub
Bug: Latest HA Core update 2024.5.0 breaks notification entities. ·...
Please make sure that the issue you're planning to report is not already registered :) Describe the bug The latest HA Core update (2024.5.0) stops hass.agent from creating any notify entities. ...
Want results from more Discord servers?
Add your server