Instantly share code, notes, and snippets.
Last active
July 4, 2021 12:35
-
Star
(0)
0
You must be signed in to star a gist -
Fork
(0)
0
You must be signed in to fork a gist
-
Save huizebruin/4a7adaa4e917f721f3ad3887d6a82810 to your computer and use it in GitHub Desktop.
radio buttons - tekst links home assistant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type: vertical-stack | |
cards: | |
- type: horizontal-stack | |
cards: | |
- type: custom:slider-button-card | |
entity: media_player.huiskamer | |
show_name: true | |
slider: | |
direction: left-right | |
background: triangle | |
use_percentage_bg_opacity: true | |
show_track: true | |
force_square: false | |
use_state_color: true | |
action_button: | |
tap_action: | |
action: toggle | |
mode: toggle | |
icon: '' | |
show: false | |
icon: | |
show: true | |
icon: '' | |
use_state_color: true | |
show_state: true | |
compact: true | |
- type: horizontal-stack | |
cards: | |
- type: custom:button-card | |
name: Radio 1 | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://icecast.omroep.nl/radio1-bb-aac | |
media_content_type: url | |
- type: custom:button-card | |
name: Radio 2 | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://icecast.omroep.nl/radio2-bb-aac | |
media_content_type: url | |
- type: custom:button-card | |
name: Radio 3 | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://icecast.omroep.nl/3fm-bb-aac | |
media_content_type: url | |
- type: custom:button-card | |
name: Arrow Classic Rock | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://stream.player.arrow.nl/arrowcr | |
media_content_type: url | |
- type: horizontal-stack | |
cards: | |
- type: custom:button-card | |
name: qmusic | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://stream.qmusic.nl/qmusic/aachigh | |
media_content_type: url | |
- type: custom:button-card | |
name: JUKE Foute Hits | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://21223.live.streamtheworld.com/TLPNET10AAC.aac | |
media_content_type: url | |
- type: custom:button-card | |
name: sky radio | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://20043.live.streamtheworld.com:80/SKYRADIOAAC.aac | |
media_content_type: url | |
- type: custom:button-card | |
name: Qmusic foute uur | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://stream.qmusic.nl/fouteuur/mp3 | |
media_content_type: url | |
- type: horizontal-stack | |
cards: | |
- type: custom:button-card | |
name: qmusic non stop | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://stream.qmusic.nl/nonstop/mp3 | |
media_content_type: url | |
- type: custom:button-card | |
name: Qmusic summer | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://stream.qmusic.nl/thema/mp3 | |
media_content_type: url | |
- type: custom:button-card | |
name: radio 10 | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://stream.radio10.nl/radio10 | |
media_content_type: url | |
- type: custom:button-card | |
name: radio 10 80's | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://20103.live.streamtheworld.com/TLPSTR20.mp3 | |
media_content_type: url | |
- type: horizontal-stack | |
cards: | |
- type: custom:button-card | |
name: Radio 10 90's | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://20863.live.streamtheworld.com/TLPSTR22.mp3 | |
media_content_type: url | |
- type: custom:button-card | |
name: Radio 10 top 4000 | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://20853.live.streamtheworld.com/TLPSTR24.mp3 | |
media_content_type: url | |
- type: custom:button-card | |
name: Simone Fm | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: http://stream.stream.delivery/simonefm | |
media_content_type: url | |
- type: custom:button-card | |
name: Tukker Fm | |
tap_action: | |
action: call-service | |
service: media_player.play_media | |
service_data: | |
entity_id: media_player.huiskamer | |
media_content_id: https://stream.tukkerfm.nl/tukkerfm | |
media_content_type: url | |
- type: custom:mini-media-player | |
entity: media_player.huiskamer | |
replace_mute: play_pause | |
volume_step: '1' | |
max_volume: '50' | |
min_volume: '10' | |
source: icon | |
info: short | |
group: false | |
volume_stateless: false | |
toggle_power: true | |
artwork: material |
Author
huizebruin
commented
Jul 4, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment