Skip to content

Instantly share code, notes, and snippets.

@AnthonMS
Created June 1, 2021 18:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnthonMS/0c990a2fcd7fd5ecf72d020242c4e7cf to your computer and use it in GitHub Desktop.
Save AnthonMS/0c990a2fcd7fd5ecf72d020242c4e7cf to your computer and use it in GitHub Desktop.
- type: custom:button-card
entity: media_player.living_room_tv
icon: mdi:television
name: Television
tap_action:
action: fire-dom-event
browser_mod:
command: popup
hide_header: true
card:
- type: custom:button-card
label: Stop
icon: mdi:stop
tap_action:
action: call-service
service: script.living_room_tv_stop
hold_action:
action: more-info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment