Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:button-card
- name: Shortcuts
- entity: input_select.column_b2
- show_state: false
- styles:
- grid:
- - grid-template-areas: '"n" "stack"'
- grid-template-columns: 1fr
- grid-template-rows: auto
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- row-gap: 35px
- card:
- - background-color: transparent
- border: solid 2px transparent
- height: 375px
- width: 302.5px
- padding: 20px 5px 10px 5px
- margin: 0px 0px 0px 0px
- name:
- - font-size: 18px
- font-weight: 600
- padding: 5px 0px 0px 15px
- margin: '-3px 0px 0px 0px'
- align-self: start
- justify-self: start
- show_name: true
- show_icon: false
- custom_fields:
- stack:
- card:
- type: custom:button-card
- show_state: false
- show_name: true
- show_icon: false
- styles:
- grid:
- - grid-template-areas: '"row1" "row2" "row3" "row4"'
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- card:
- - background-color: transparent
- padding: 0px 15px 15px 15px
- margin: 0px 0px 20px 0px
- border-radius: 0px
- height: 340px
- overflow-y: auto
- custom_fields:
- row1:
- - align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- width: 100%
- padding: 0px 0px 10px 0px
- row2:
- - align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- width: 100%
- padding: 0px 0px 10px 0px
- row3:
- - align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- width: 100%
- padding: 0px 0px 10px 0px
- row4:
- - align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- width: 100%
- padding: 0px 0px 35px 0px
- custom_fields:
- row1:
- card:
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: '"garage back_house_lights"'
- grid-template-columns: 1fr 1fr
- grid-template-rows: 1fr
- column-gap: 10px
- card:
- - background-color: transparent
- padding: 0px
- margin: 0px
- border-radius: 0px
- custom_fields:
- garage:
- card:
- type: custom:button-card
- entity: cover.smart_garage_door_opener_msg100_main_channel
- name: Garage Door
- show_label: false
- show_state: false
- tap_action:
- action: toggle
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 35px
- - margin-left: '-5px'
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - letter-spacing: '-0.01em'
- - color: white
- - padding: 0px 10px 0px 0px
- state:
- - value: open
- styles:
- card:
- - background: var(--label-badge-red)
- icon:
- - color: white
- - value: opening
- styles:
- card:
- - background: var(--label-badge-red)
- icon:
- - color: white
- - value: closing
- styles:
- card:
- - background: var(--label-badge-red)
- icon:
- - color: white
- back_house_lights:
- card:
- type: custom:button-card
- entity: light.back_house_lights
- name: Back House Lights
- tap_action:
- action: >
- [[[
- return
- states['light.back_house_lights_minus_kitchen'].state
- === 'off' ? 'navigate' : 'toggle';
- ]]]
- navigation_path: '#lights'
- double_tap_action:
- action: >
- [[[
- return
- states['light.back_house_lights_minus_kitchen'].state
- === 'off' ? 'navigate' : 'toggle';
- ]]]
- show_state: false
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - value: 'on'
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,149,0,1)
- name:
- - color: rgba(0,0,0,1)
- row2:
- card:
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: '"tv split_system"'
- grid-template-columns: 1fr 1fr
- grid-template-rows: 1fr
- column-gap: 10px
- card:
- - background-color: transparent
- padding: 0px
- margin: 0px
- border-radius: 0px
- custom_fields:
- tv:
- card:
- type: custom:button-card
- entity: media_player.living_room_tv
- name: TV
- tap_action:
- action: toggle
- double_tap_action:
- action: navigate
- navigation_path: '#remote'
- hold_action:
- action: navigate
- navigation_path: '#remote'
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 40px
- - height: 30px
- - margin-left: '-5px'
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - value: 'on'
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(0,122,255,1)
- name:
- - color: rgba(0,0,0,1)
- split_system:
- card:
- type: custom:button-card
- entity: climate.living_room_split_system
- name: Split System
- icon: mdi:thermometer-low
- show_label: true
- tap_action:
- action: toggle
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- - margin-left: '-5px'
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - operator: '=='
- attribute: hvac_action
- value: cool
- icon: mdi:snowflake
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1)
- 100%)
- icon:
- - color: rgba(90,200,250,1)
- label:
- - color: rgba(90,200,250,1)
- name:
- - color: rgba(0,0,0,1)
- - operator: '=='
- value: heat
- icon: mdi:fire
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,59,48,1)
- label:
- - color: rgba(255,59,48,1)
- name:
- - color: rgba(0,0,0,1)
- row3:
- card:
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: '"dining living"'
- grid-template-columns: 1fr 1fr
- grid-template-rows: 1fr
- column-gap: 10px
- card:
- - background-color: transparent
- padding: 0px
- margin: 0px
- border-radius: 0px
- custom_fields:
- living:
- card:
- type: custom:button-card
- entity: light.living_room_ceiling_lights
- name: Living Room
- icon: mdi:light-recessed
- tap_action:
- action: toggle
- double_tap_action:
- action: more-info
- hold_action:
- action: more-info
- show_state: false
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - value: 'on'
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,149,0,1)
- name:
- - color: rgba(0,0,0,1)
- dining:
- card:
- type: custom:button-card
- entity: light.dining_room_ceiling_light
- name: Dining Room
- tap_action:
- action: toggle
- show_state: false
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - value: 'on'
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,149,0,1)
- name:
- - color: rgba(0,0,0,1)
- row4:
- card:
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: '"heater patio"'
- grid-template-columns: 1fr 1fr
- grid-template-rows: 1fr
- column-gap: 10px
- card:
- - background-color: transparent
- padding: 0px
- margin: 0px
- border-radius: 0px
- custom_fields:
- heater:
- card:
- type: custom:button-card
- entity: climate.house_ducted_heating_2
- name: House Heater
- icon: mdi:fire
- show_label: true
- tap_action:
- action: more-info
- styles:
- card:
- - padding: 10px 12px 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- - margin-left: '-5px'
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - operator: '=='
- value: heat
- icon: mdi:fire
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,59,48,1)
- label:
- - color: rgba(255,59,48,1)
- name:
- - color: rgba(0,0,0,1)
- patio:
- card:
- type: custom:button-card
- entity: light.patio_lights
- name: Patio
- tap_action:
- action: toggle
- show_state: false
- styles:
- card:
- - padding: 10px opx 12px 12px
- - margin: 0px 0px 0px 0px
- - background: >-
- linear-gradient(45deg, rgba(0,0,0, 0.1) 20%,
- rgba(0,0,0, 0.2) 100%)
- filter: saturate(200%)
- - height: 88px
- - border-radius: 20px
- grid:
- - grid-template-areas: '"i" "n"'
- - grid-template-columns: 1fr min-content
- - grid-template-rows: 1fr min-content min-content
- img_cell:
- - justify-self: start
- - align-self: start
- - background: none
- - border-radius: 0
- - width: 30px
- - height: 30px
- icon:
- - width: 40px
- height: 40px
- name:
- - justify-self: start
- - font-weight: 550
- - font-size: 16px
- - color: white
- - padding: 0px 10px 0px 0px
- - letter-spacing: '-0.01em'
- state:
- - value: 'on'
- styles:
- card:
- - background: >-
- linear-gradient(45deg, rgba(255,255,255, 0.8)
- 20%, rgba(255,255,255, 1) 100%)
- icon:
- - color: rgba(255,149,0,1)
- name:
- - color: rgba(0,0,0,1)
- card_mod:
- style: |
- :host {
- display: block;
- position: relative; margin: 0px 6px 0px 0px;
- }
- :host::before {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: 30px;
- -webkit-backdrop-filter: blur(50px);
- z-index: -1;
- padding: .1rem;
- background: linear-gradient(60deg,
- rgba(255,255,255,0.0) 0%,
- rgba(255,255,255,0.2) 49%,
- rgba(255,255,255,0.2) 51%,
- rgba(255,255,255,0.0) 100%);
- -webkit-mask:
- linear-gradient(#fff 0 0) content-box,
- linear-gradient(#fff 0 0);
- -webkit-mask-composite: xor;
- mask-composite: exclude;
- z-index: 0; filter: saturate(140%);
- }
- :host::after {
- content: "";
- background: linear-gradient(180deg, rgba(255,255,255, 0.1) 20%, rgba(255,255,255, 0.0) 100%);
- position: absolute;
- inset: 0;
- border-radius: 30px;
- box-shadow: inset -8px 10px 15px rgba(0, 0, 0, 0.1);
- z-index: -1;
- -webkit-backdrop-filter:blur(30px) saturate(110%) brightness(90%);
- filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2)); }
Advertisement
Add Comment
Please, Sign In to add comment