Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95481

Help to setup channels in LG TV

$
0
0

@Makis wrote:

Hi
I am trying to change channels in my LG TV in HA.
I have the following code which works

wake_on_lan: # enables `wake_on_lan` domain

# LG TV
webostv:
  host: 192.168.1.xx
  name: LG TV Webos
  #other settings
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: 'A8:xx:xx:B4:49:xx'
  customize:
    sources:
      - livetv
      - netflix
      - hdmi1
      - hdmi3
      - youtube
        
media_player:

Now I would like to add the channels but I don’t know where to add to the code
I tried various combinations (after the above code,inside the above code but it doesn’t work.
Can someone explain what I have to do ?

wake_on_lan: # enables `wake_on_lan` domain

# LG TV
webostv:
  host: 192.168.1.xx
  name: LG TV Webos
  #other settings
  turn_on_action:
    service: wake_on_lan.send_magic_packet
    data:
      mac: 'A8:xx:xx:B4:49:xx'
  customize:
    sources:
      - livetv
      - netflix
      - hdmi1
      - hdmi3
      - youtube
  action: 
    service: media_player.play_media
    data:
      entity_id: media_player.lg_webos_smart_tv
      media_content_id: 1
      media_content_type: "channel"
        
media_player:

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95481

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>