Kashub's Code Barn - "Home assistant - custome media player with shortcut buttons to chosen radio stations"

podświetlone jako yaml (dodał(a) kashub @ 2024-02-14 07:56:24)

Twoja wyszukiwarka
Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
type: vertical-stack
cards:
  - type: custom:mini-media-player
    entity: media_player.office_speaker
    artwork: full-cover
    source: full
    background: >-
      data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMREhUPEBIVEBUQEBUVFRUQEBIQFQ8PFRUWFxUVFRUYHSggGBolHhUXITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGxAQGi0fHSUtLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tKy0tLS0rLS0tLS0tLS0tLS0tLS0tLf/AABEIAMkA+wMBIgACEQEDEQH/xAAbAAACAwEBAQAAAAAAAAAAAAAABAIDBQEGB//EADUQAAIBAgQDBgUEAgIDAAAAAAABAgMRBBIhMUFRYQUTcYGhsRQikdHwMkLB4WLxorIjUnL/xAAYAQEBAQEBAAAAAAAAAAAAAAAAAQIDBP/EAB4RAQEBAQEBAAMBAQAAAAAAAAABEQISIQMTQTFR/9oADAMBAAIRAxEAPwD658MReHNLIcdMvtjwzfhyLoGk6ZBwNe08M50Tjomg6ZF0i+k8kO5OOkPumRdMvpPJB0jnc9B10zndl9J5JdyuRx0kO92cdMejCXcoHQQ33ZzIXTCncHO4HMhxwHpMJ9wcdAcyHMhdMJ9wHcDmQ44DTCncB3A3kDINTCfcB3A5lDKPRhLuQ7kcyhlGmE+5DuR3KGUejCXcB3A5lDKPRhPuQ7kcynMo9GN4AA8j1gLAARFxOOBMBpitxIuJcFi6mKHAi4DGUi4l9JijIRyDGU44mvSYXcCLpjLiccS6mFshxwGcpHKXTC7gcyDDgcyDUwvlBxL8hzIXUxRkDIXZQyjTFOQ5kL8oZS6YoyhlLsoZRpijKGUvyhlGmKMoZS7KGUaYpyhlLsoZRqY0QADzvQAAAAAAAAAAAAAgscsdACN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0UKzjH5ovys9OqEa/aqje2rdra6RXUnKqmt82m12/Qz4UrRcHFNtrV7oxzzP61bT8cXp4+JF4nqU0KWlnwLu5XIuRPrzddXLJ004/42059LdTQngoPS1uqbF8VQyeHA7epXO8qcNGKjotvPUlUvbNwvbhuLO6+aO22qdr+IrWxMuS8k/uazUMYXs6FapbbVJtaD/bnZioLR2WVrR/tas1fwMHC4twlpzLe0+0JVYuLb+vEt569T78blmM3AY9020tU9d9vA0YdqQnH55OOl9nK7XCx55X5FsKUnwt4I79cS/UW0Z6q60vqlyvqj21OpHLmbWW2/Cx5Ghh3bRcVry3uvb6GjQ7Om201ayzNNqOiV768bHL8klWfBeOlr8b38Xa1ulvUnTkMwwCst738raed9xqPZ2V2as1uno0zN6iYjhK7ik7tp3X6X8rWyvx34DPxLk/liXxw91l1UVqoptrNZJuze7saPZmGin8yOPXUn1qc2/GJOc+Kt4I7h6alJKUsie8mnLL5HocfQjf5UJfCfljM/JLC8ZWO1rz13tuuYGrLCEZYXoa9xPNZZKbWmVNfKr3d7y4tdB2WFIfDF9RMKZ3bLwvfz2OXGnhznw5dhihzuktNOS18+ZGw0qBJUCbDCqgXd29E77aX5DEaBfCgS9LOSdOh5DCw+tlqk/C6GoUBrD0NdTF7anLnZ1JL9S0LMTSTeiNDuo20Ko0jj6267efmE4YYt+HQ9GkT7szezw8lBleJjeLXT14E4cTlTZ+DPU4sGUheoy6RSj0Ryco0W9RmGEuXYbYepGb03GNPs35npxv9UN0Oy1yH5fq+nsN0eBm90V1aDqOLkkssFFZYqPyx2v1LKeBXIdpl0Tj6qlI4MYhhVyGETRm2tKoYdFsaJZEmjFrcitUw7roXo6Z1cLOiQdAbIl0wlLDlbw4+yMiypjPlh+hF4foPsizWphH4c7GgNEojTC8aJdGiXRJxJasiEKJfCkdiXxMWtSIxgWxgdR05WukgOnAIr//Z
  - square: true
    type: horizontal-stack
    cards:
      - name: Lounge rm.fm
        tooltip: Lounge rm.fm
        show_name: false
        size: 100%
        styles:
          card:
            - padding: 0
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/lounge.jpg
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/25ff1b4c-ffcb-4572-a561-9347e0e58c75
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: Tomorrowland One World Radio
        tooltip: Tomorrowland One World Radio
        show_name: false
        size: 100%
        styles:
          card:
            - padding: 0
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/tomorrowland.png
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/16aef2cf-caf8-48f6-9d60-69196661dfd1
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: Sunshine Live
        tooltip: Sunshine Live
        show_name: false
        size: 100%
        styles:
          card:
            - padding: 0
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/sunshinelive.png
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/960d063e-0601-11e8-ae97-52543be04c81
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: DanceRadioUK - Dance UK
        tooltip: DanceRadioUK - Dance UK
        show_name: false
        size: 100%
        styles:
          card:
            - padding: 0
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/DanceRadioUk.jpg
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/30369d73-370f-4403-b5d5-39843a00fcec
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: Capital
        tooltip: Capital FM
        show_name: false
        size: 100%
        styles:
          card:
            - padding: 0
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/capital.png
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/96200095-0601-11e8-ae97-52543be04c81
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: Dance Wave
        tooltip: Dance Wave
        size: 100%
        show_name: false
        styles:
          card:
            - padding: 0
            - height: 100%
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/dancewave.png
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/962cc6df-0601-11e8-ae97-52543be04c81
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
      - name: House Fusion Radio (UK)
        tooltip: House Fusion Radio (UK)
        size: 100%
        styles:
          card:
            - padding: 0
        show_name: false
        type: custom:button-card
        show_entity_picture: true
        entity_picture: /local/radio/housefusion.jpg
        tap_action:
          service: media_player.play_media
          action: call-service
          service_data:
            media_content_id: media-source://radio_browser/b6d47672-aa01-4363-bd26-32f0e8d9570e
            media_content_type: audio/mpeg
            entity_id: media_player.office_speaker
 
| Wózki dla dzieci | | Sklep z oponami | | Opony całoroczne | | Opony zimowe | | Sklep z artykułami RTV/AGD | | Programista PHP | | Blog o książkach | | Jak przenieść bloga | | Smutne Opisy | | Opisy na Facebooka |