Facebook
From Cute Tern, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 240
  1. type: entities
  2. entities:
  3.   - type: 'custom:hui-vertical-stack-card'
  4.     title: Kök
  5.     cards:
  6.       - type: 'custom:hui-horizontal-stack-card'
  7.         cards:
  8.           - type: glance
  9.             entities:
  10.               - entity: light.diskbanken
  11.                 tap_action:
  12.                   action: toggle
  13.             show_name: true
  14.             show_state: false
  15.             show_icon: true
  16.             style: >
  17.               ha-card { box-shadow: none; background: rgba(255, 255, 240, 0.6);
  18.               background: {% if is_state('light.diskbanken', 'on') %} #ffffff;
  19.               {% endif %} }
  20.           - type: glance
  21.             entities:
  22.               - entity: light.kokson
  23.                 tap_action:
  24.                   action: toggle
  25.             show_name: true
  26.             show_state: false
  27.             show_icon: true
  28.             style: |
  29.               ha-card { box-shadow: none; background: rgba(255, 255, 240, 0.6);
  30.               background: {% if is_state('light.kokson', 'on') %} #ffffff; {%
  31.               endif %} }
  32.           - type: glance
  33.             entities:
  34.               - entity: light.koksspottar
  35.                 tap_action:
  36.                   action: toggle
  37.             show_name: true
  38.             show_state: false
  39.             show_icon: true
  40.             style: >
  41.               ha-card { box-shadow: none; background: rgba(255, 255, 240, 0.6);
  42.               background: {% if is_state('light.koksspottar', 'on') %} #ffffff;
  43.               {% endif %} }
  44.       - type: 'custom:hui-horizontal-stack-card'
  45.         cards:
  46.           - type: glance
  47.             entities:
  48.               - entity: light.koksskapet
  49.                 name: Väggskåp
  50.                 tap_action:
  51.                   action: toggle
  52.             show_name: true
  53.             show_state: false
  54.             show_icon: true
  55.             style: >
  56.               ha-card { box-shadow: none; background: rgba(255, 255, 240, 0.6);
  57.               background: {% if is_state('light.koksskapet', 'on') %} #ffffff;
  58.               {% endif %} }
  59.           - type: glance
  60.             entities:
  61.               - entity: switch.kaffekokaren
  62.                 name: Kaffe
  63.                 tap_action:
  64.                   action: toggle
  65.             show_name: true
  66.             show_state: false
  67.             show_icon: true
  68.             style: >
  69.               ha-card { box-shadow: none; background: rgba(255, 255, 240, 0.6);
  70.               background: {% if is_state('switch.kaffekokaren', 'on') %}
  71.               #ffffff; {% endif %} }
  72.           - entities: null
  73.             type: 'custom:gap-card'
  74. style: |
  75.   ha-card {
  76.   color: #ffffff;
  77.   --ha-card-border-radius: 10px;
  78.   --ha-card-header-font-size: 18px;
  79.   background: none;
  80.   box-shadow: none;
  81.   margin-left: 10px;
  82.   margin-right: 10px;
  83.   margin-bottom: 10px
  84.   }
  85.   .card-content {
  86.     padding: 0
  87.   }
  88.