Skip to content

Instantly share code, notes, and snippets.

@huizebruin
Last active July 6, 2021 15:54
Show Gist options
  • Save huizebruin/b632e1137eb87f8af787d5b5adcbe835 to your computer and use it in GitHub Desktop.
Save huizebruin/b632e1137eb87f8af787d5b5adcbe835 to your computer and use it in GitHub Desktop.
radio buttons home assistant.
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
show_entity_picture: true
entity_picture: /local/logo/NPO_Radio_1_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/NPO_Radio_2_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/NPO_Radio_3_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/Arrow_Classic_Rock_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/Qmusic_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/StuBru_logo.png
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.huiskamer
media_content_id: http://icecast.vrtcdn.be/stubru_bruut-high.mp3
media_content_type: url
- type: custom:button-card
show_entity_picture: true
entity_picture: /local/logo/Sky_Radio_logo.png
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
show_entity_picture: true
entity_picture: /local/logo/Classic_21_logo.png
tap_action:
action: call-service
service: media_player.play_media
service_data:
entity_id: media_player.huiskamer
media_content_id: https://radios.rtbf.be/classic21-128.mp3
media_content_type: url
@huizebruin
Copy link
Author

NPO_Radio_1_logo
NPO_Radio_2_logo
NPO_Radio_3_logo
Arrow_Classic_Rock_logo
Classic_21_logo
Sky_Radio_logo
StuBru_logo
Qmusic_logo

@huizebruin
Copy link
Author

huizebruin commented Jul 4, 2021

Voor meer zenders kijk eens naar deze lijst.
https://www.hendrikjansen.nl/henk/streaming.html#cz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment