Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/braviatv_psk/media_player.py:552
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 08:16:08 (3 occurrences)
Last logged: 12:26:05
[140530191248656] 'NoneType' object has no attribute 'get'
[140530387018480] 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1755, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1792, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 678, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 958, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 715, in _handle_entity_call
await result
File "/config/custom_components/braviatv_psk/media_player.py", line 552, in async_turn_on
await self.hass.async_add_executor_job(self._braviarc.turn_on_command)
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/braviapsk/sony_bravia_psk.py", line 439, in turn_on_command
self.send_req_ircc(self.get_command_code("TvPower"))
File "/usr/local/lib/python3.10/site-packages/braviapsk/sony_bravia_psk.py", line 353, in get_command_code
self._refresh_commands()
File "/usr/local/lib/python3.10/site-packages/braviapsk/sony_bravia_psk.py", line 343, in _refresh_commands
if not resp.get("error"):
AttributeError: 'NoneType' object has no attribute 'get'
Official Sony bravia integration can launch TV, but cannot nothing more. Your integration can change channels and maybe launch apps like Plex. So I prefer your integration. Can you help me with this error?
Hi. Not sure what all this is about. I have a Bravia XR and I use the Sony Bravia TV integration. I just installed the custom tv:card from HACS and set this up: