Open phcella opened 3 years ago
same problem mine doesnt even show the icons but has a button what is the file fomat that it needs
Same problem here, the logo is showing fine:
type: custom:lg-remote-control
entity: media_player.tv_salacomedor
sources:
- icon: mdi:netflix
name: Netflix
- icon: disney
name: Disney
- icon: mdi:youtube
name: YouTube
- icon: mdi:amazon
name: Amazon Prime Video
- name: HDMI 1
icon: mdi:video-input-hdmi
- name: HDMI 2
icon: mdi:video-input-hdmi
- name: HDMI 3
icon: mdi:video-input-hdmi
- name: HDMI 4
icon: mdi:video-input-hdmi
colors:
texts: blue
background: blue
buttons: lightblue
channels:
- image: /local/images/tv_logo/Star_Channel.png
number: '312'
Logger: homeassistant.components.websocket_api.http.connection
Source: components/webostv/media_player.py:392
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:51:22 (7 occurrences)
Last logged: 13:03:24
[139629436677712] 'NoneType' object is not iterable
[139629338263408] 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 185, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1491, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1526, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 658, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 811, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 695, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/webostv/media_player.py", line 93, in wrapper
await func(obj, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/webostv/media_player.py", line 392, in async_play_media
for channel in self._client.channels:
TypeError: 'NoneType' object is not iterable
I have the same problem, I don't know how to add DTV channels with their logo.
Here in Brazil, we have DTV (digital tv) and it has some channels in one channel number as you can see on the image below
I would like to know how I need to write the channel number on the configuration.
And another problem, after I click on the Channel Logo, appeared an error: "Failed to call the service media_player/play_media.'NoneType' object is not iterable". You can see the screenshot below