fredrik_persson_

Quick Scenes

Nov 28th, 2022
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.13 KB | None | 0 0
  1. #---Section Quick Scenes---#
  2.  
  3.       - type: markdown
  4.         content: >-
  5.           <h2><ha-icon icon="mdi:auto-fix"></ha-icon>&ensp;Quick Scenes</h2>
  6.       - type: custom:swipe-card
  7.         card_width: '200px'
  8.         start_card: 2
  9.         parameters:
  10.           effect: 'coverflow'
  11.           coverflowEffect:
  12.             rotate: 50
  13.             stretch: 30
  14.             depth: 400
  15.             modifier: 1
  16.             slideShadows : true
  17.           grabCursor: true
  18.           centeredSlides: true
  19.           slidesPerView: 'auto'
  20.           spaceBetween: 0
  21.           followFinger: true
  22.         cards:
  23.           - type: 'custom:button-card'
  24.             template: card_input_boolean
  25.             entity: input_boolean.office_sunrise
  26.             variables:
  27.               ulm_card_input_boolean_name: Kontor Morgon
  28.             aspect_ratio: 3/2
  29.             styles:
  30.               card:
  31.                 - background: 'linear-gradient(-30deg, rgba(21,0,36,1) 0%, rgba(158,0,89,1) 100%)'
  32.  
  33.           - type: 'custom:button-card'
  34.             template: card_input_boolean
  35.             entity: input_boolean.office_sunset
  36.             variables:
  37.               ulm_card_input_boolean_name: Kontor Kväll
  38.             aspect_ratio: 3/2
  39.             styles:
  40.               card:
  41.                 - background: 'linear-gradient(-30deg, rgba(2,0,36,1) 0%, rgba(0,112,158,1) 100%)'
  42.  
  43.           - type: 'custom:button-card'
  44.             template: card_input_boolean
  45.             entity: light.shellydimmer2_84cca8ae58c0
  46.             variables:
  47.               ulm_card_input_boolean_name: Movie Mode
  48.             aspect_ratio: 3/2
  49.             styles:
  50.               card:
  51.                 - background: 'linear-gradient(-30deg, rgba(90,158,51,1) 0%, rgba(0,79,75,1) 100%'
  52.  
  53.           - type: 'custom:button-card'
  54.             template: card_input_boolean
  55.             entity: light.shellydimmer2_84cca8ae58c0
  56.             variables:
  57.               ulm_card_input_boolean_name: Guest Mode
  58.             aspect_ratio: 3/2
  59.             styles:
  60.               card:
  61.                 - background: 'linear-gradient(-30deg, rgba(140,72,6,1) 0%, rgba(208,176,55,1) 100%)'
Advertisement
Add Comment
Please, Sign In to add comment