Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: horizontal-stack
- cards:
- - type: custom:stack-in-card
- cards:
- - type: custom:mushroom-template-card
- primary: Kies je 4 favoriete zenders
- icon: mdi:music
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-state-info$: |
- .container {
- margin: 10px;
- }
- mushroom-shape-icon$: |
- .shape {
- margin-top: 0px;
- }
- .: |
- ha-card {
- height: 55px !important;
- box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.3) !important;
- background-color: rgba({{ states("input_text.kleur_iconen")}},0.2) !important;
- }
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Radio 1
- icon: >
- {% if 'Radio 1' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Radio 1' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Radio 1
- person: persoon1
- option: ruimte1.4
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- - type: custom:mushroom-template-card
- primary: Radio 2
- icon: >
- {% if 'Radio 2' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Radio 2' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Radio 2
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Radio Willy
- icon: >
- {% if 'Radio Willy' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Radio Willy' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Radio Willy
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- - type: custom:mushroom-template-card
- primary: Stu Bru
- icon: >
- {% if 'Stu Bru' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Stu Bru' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Stu Bru
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Spotify Easy
- icon: >
- {% if 'Spotify Easy' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Spotify Easy' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Spotify Easy
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- - type: custom:mushroom-template-card
- primary: Top Radio
- icon: >
- {% if 'Top Radio' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Top Radio' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Top Radio
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 50px !important;
- }
- - type: horizontal-stack
- cards:
- - type: custom:mushroom-template-card
- primary: Spotify Dance
- icon: >
- {% if 'Spotify Dance' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Spotify Dance' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Spotify Dance
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 55px !important;
- }
- - type: custom:mushroom-template-card
- primary: Spotify Pop
- icon: >
- {% if 'Spotify Pop' in
- states('input_text.persoon1_radiostations').split(',') %}
- mdi:toggle-switch {% else %} mdi:toggle-switch-off {% endif
- %}
- icon_color: >
- {% if 'Spotify Pop' in
- states('input_text.persoon1_radiostations').split(',') %}
- {{ states("input_text.kleur_iconen")}}
- {% else %}
- [84, 84, 84]
- {% endif %}
- tap_action:
- action: call-service
- service: script.add_remove_option_duplicate
- service_data:
- option: Spotify Pop
- person: persoon1
- fill_container: true
- layout: horizontal
- multiline_secondary: false
- card_mod:
- style:
- mushroom-shape-icon$: |
- .shape {
- box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.36) !important;
- }
- .: |
- ha-card:active {
- transform: scale(1.02);
- transition: 0s;
- }
- ha-card {
- height: 55px !important;
- }
- - type: custom:button-card
- name: ''
- styles:
- card:
- - height: 1px
- card_mod:
- style: |
- ha-card {
- width: 98%;
- }
Advertisement
Add Comment
Please, Sign In to add comment