Skip to content

How to pass entity id to browser_mod popup #252

Answered by m90att
m90att asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, I second @OzGav's comment about great work!

I actually managed to implement the solution using your code before you updated it with the execute function. Here it is...

    - name: Sonos
      entities:
        - media_player.study
        - media_player.bathroom
        - media_player.kitchen
        - media_player.garage_speaker
        - media_player.lounge
      tap_action: media_player.media_play_pause
      state_action:
        - action: call-service
          service: floorplan.class_set
          service_data: "${entity.state}"
      hold_action:
        - action: call-service
          service: floorplan.class_set
          service_data:
            class: |
              > 
…

Replies: 5 comments 17 replies

Comment options

You must be logged in to vote
2 replies
@exetico
Comment options

@m90att
Comment options

Comment options

You must be logged in to vote
3 replies
@exetico
Comment options

@m90att
Comment options

@exetico
Comment options

Comment options

You must be logged in to vote
11 replies
@OzGav
Comment options

@exetico
Comment options

@OzGav
Comment options

@exetico
Comment options

@OzGav
Comment options

Comment options

You must be logged in to vote
1 reply
@exetico
Comment options

Answer selected by m90att
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants