Sholofly / lghorizon

Custom integration to control LG Horizon settop boxes for Ziggo(NL), Magenta(AT), UPC(CH), Virgin(GB, IE), Telenet(BE)
GNU General Public License v3.0
62 stars 15 forks source link

Missing code? #69

Closed hessel-a closed 1 year ago

hessel-a commented 1 year ago

service: lghorizon.play_media service_data: entity_id: media_player.ziggo_beneden media_content_id: 401 # Any channel number, 'Netflix' or 'Videoland'

This service is written down in the README. But i can not find it back in homeassistant and no mention in. services.yaml

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Version of the component The version of the component as it is installed on your HA

Logging Enable debug logging and add your log. DO NOT SHARE SENSITIVE DATA SUCH AS PASSWORDS AND ACCOUNT INFO! You can enable logging by setting up the logging component in HA as follows:

logger:
  default: warning
  logs:
    lghorizon: debug

Additional context Add any other context about the problem here.

Sholofly commented 1 year ago

@hessel-a, good point. De provided information was not correct. The service you have to use is media_player.play_media. I've updated the docs. Thanks m8!