WebOS (LG 2017) does not show up under devices / cannot be used in scene

Hello!

I’m new - sorry - hope this is not a dumb question - I will improve fast :slight_smile: - promised…
I have configured my LG TV via WebOS - I can switch it on/off, change source, etc.
All works well.

Now I wanted to use the TV in a Scene, but it is not listed under Devices - hence I cannot use it in a scene.
Is this a configuration issue, or how can I achieve to use it in a Scene?

Thank you!
Albert

are you using the entity_id value “media_player.LGtv” and not just “LGtv”?

Hello - I only have an entity called “media_player.tv_wohnzimmer” - nothing else :).
What did I miss?

The value you have should be good. I was always making the mistake of leaving off ‘media_player.’ before the device id. What MAY be happening is the generic ‘media_player’ platform may not have scene capabilities?

Maybe if you include the portion of your YAML scene: configuration here, someone else can help more? Just place it between two lines including only three (3) back-ticks

- id: '1577118153832'
  name: WatchTV
  entities:
    light.tv:
      brightness: 249
      color_temp: 359
      effect: none
      effect_list:
      - colorloop
      - random
      friendly_name: TV
      max_mireds: 500
      min_mireds: 153
      state: 'on'
      supported_features: 63
    media_player.tv_wohnzimmer:
      entity_picture: /api/media_player_proxy/media_player.tv_wohnzimmer?token=e1244197aaaea409053f7c9b66cada97c63b9cbaac533ec3a7e5f356499e4004&cache=6875e46e0d7e0368
      friendly_name: TV wohnzimmer
      is_volume_muted: false
      media_content_type: channel
      media_title: ATV HD
      source: Live TV
      source_list:
      - Amazon Prime Video
      - HDMI-1
      - Live TV
      - YouTube
      state: playing
      supported_features: 20413
      volume_level: 0
    media_player.wohnzimmer:
      friendly_name: Wohnzimmer
      is_volume_muted: false
      media_artist: TV
      media_content_type: music
      night_sound: false
      shuffle: false
      sonos_group:
      - media_player.wohnzimmer
      source: TV
      source_list:
      - Antenne Steiermark
      - Celebration
      - Diana Krall Radio
      - Fanfare
      - Hallelujah
      - hochzeitsmusik
      - Lenny Kravitz-Radio
      - 'Meeresrauschen: Zum Entspannen & Einschlafen, für Wellness & Massage, Meditation
        & Yoga'
      - Ö3 Hitradio
      - Line-in
      - TV
      speech_enhance: false
      state: playing
      supported_features: 64063
      volume_level: 10

And there is an error-message shown in the log file

value must be at most 1 for dictionary value @ data['volume_level']
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 133, in handle_call_service
    connection.context(msg),
  File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
    await asyncio.shield(self._execute_service(handler, service_call))
  File "/usr/src/homeassistant/homeassistant/core.py", line 1260, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 205, in handle_service
    self._platforms.values(), func, call, service_name, required_features
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 336, in entity_service_call
    future.result()  # pop exception if have
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 358, in _handle_service_platform_call
    await getattr(entity, func)(**data)
  File "/usr/src/homeassistant/homeassistant/components/homeassistant/scene.py", line 244, in async_activate
    context=self._context,
  File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 105, in async_reproduce_state
    *(worker(domain, data) for domain, data in to_call.items())
  File "/usr/src/homeassistant/homeassistant/helpers/state.py", line 99, in worker
    hass, states_by_domain, context=context
  File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 99, in async_reproduce_states
    *(_async_reproduce_states(hass, state, context) for state in states)
  File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 71, in _async_reproduce_states
    await call_service(SERVICE_VOLUME_SET, [ATTR_MEDIA_VOLUME_LEVEL])
  File "/usr/src/homeassistant/homeassistant/components/media_player/reproduce_state.py", line 56, in call_service
    DOMAIN, service, data, blocking=True, context=context
  File "/usr/src/homeassistant/homeassistant/core.py", line 1213, in async_call
    processed_data = handler.schema(service_data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 208, in __call__
    return self._exec((Schema(val) for val in self.validators), v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 287, in _exec
    raise e if self.msg is None else AllInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 283, in _exec
    v = func(v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: value must be at most 1 for dictionary value @ data['volume_level']