Howto trigger

I want to turn-on my Raumfeld Speakers when I switch on my television. I used to to this via the following automation:

alias: Raumfeld Boxen Automatic start
description: Starten der Raumfeld Boxen wenn der LG Fernseher eingeschaltet wird
  - platform: device
    device_id: xxxxxxxxxxxxxxxxxxxxxxxx
    domain: media_player
    entity_id: media_player.lg_webos_smart_tv
    type: turned_on
condition: []
  - service: select.room_wohnzimmer_powerstate
      entity_id: sensor.room_wohnzimmer_powerstate
      power_state: "on"
mode: single

However, now after an update, the Raumfeld plugin changed. The changelog states that the set_power_state service was replace by the corresponding selector entity. I see that in my configuration, because now at the frontend, the selector looks like this:


I can activate it manually by clicking on “off” or “on”, but I cannot figure out which service to call to activate it with my automation above.

Can anybody help? Which service do I have to execute to turn my speakers on or off via this selector interface?

Thanks for your help and best regards,

Use developer tools → service calls and see what you need.
Just input what you need in the GUI and switch over to yaml.

Use the select.select_option service call.

yes thats it. Just for reference, this is the complete call which worked for me:

service: select.select_option
  entity_id: select.room_wohnzimmer_powerstate
  option: "eco"

thanks for your help!

Yes, I tried that. Unfortunately, the automatic fill in did not work there. It did not suggest anything. For this reason I had to figure out the YAML command directy.