Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #########################################################################
- ###### Custom Components:
- ###### - 'custom:button-card'
- ###### - 'custom:state-switch'
- ###### - 'browser_mod'
- ###### - 'custom:light-popup-card'
- ###### - 'custom:vertical-stack-in-card'
- #########################################################################
- cards:
- #########################################################################
- ###### ↓ Header card ↓
- #########################################################################
- - content: |
- # Ground Floor
- style:
- .: |
- ha-card {
- background-color: transparent !important;
- box-shadow: none !important;
- }
- ha-markdown:
- $: |
- h1 {
- font-size: 30px;
- color: transparent;
- #font-weight: bold;
- text-align: center;
- letter-spacing: '-0.01em';
- }
- type: markdown
- #########################################################################
- ###### ↓ 'Gap' Card (Left of Horizontal row) ↓
- #########################################################################
- - cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- #########################################################################
- ###### ↓ Start of button selection - Lights ↓
- #########################################################################
- - type: 'custom:button-card'
- entity: input_select.ground_floor_plan
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- icon: 'mdi:lightbulb-group-outline'
- name: Lights
- state:
- - icon: 'mdi:lightbulb-group-outline'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Security
- - icon: 'mdi:lightbulb-group-outline'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Temperature
- - icon: 'mdi:lightbulb-group-outline'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Media
- - color: white
- icon: 'mdi:lightbulb-group-outline'
- operator: default
- styles:
- card:
- - height: 80px
- - animation: mymove 10s infinite
- icon:
- - width: 45%
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Lights
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.ground_floor_plan
- option: Lights
- #########################################################################
- ###### ↓ Start of button selection - Security ↓
- #########################################################################
- - type: 'custom:button-card'
- entity: input_select.ground_floor_plan
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- icon: 'mdi:shield-home'
- name: Security
- state:
- - icon: 'mdi:shield-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Lights
- - icon: 'mdi:shield-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Temperature
- - icon: 'mdi:shield-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Media
- - color: white
- icon: 'mdi:shield-home'
- operator: default
- styles:
- card:
- - height: 80px
- - animation: mymove 10s infinite
- icon:
- - width: 45%
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Security
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.ground_floor_plan
- option: Security
- #########################################################################
- ###### ↓ Start of button selection - Temperature ↓
- #########################################################################
- - type: 'custom:button-card'
- entity: input_select.ground_floor_plan
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- icon: 'mdi:home-thermometer'
- name: Temperature
- state:
- - icon: 'mdi:home-thermometer'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Lights
- - icon: 'mdi:home-thermometer'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Security
- - icon: 'mdi:home-thermometer'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Media
- - color: white
- icon: 'mdi:home-thermometer'
- operator: default
- styles:
- card:
- - height: 80px
- - animation: mymove 10s infinite
- icon:
- - width: 45%
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Temperature
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.ground_floor_plan
- option: Temperature
- #########################################################################
- ###### ↓ Start of button selection - Media ↓
- #########################################################################
- - type: 'custom:button-card'
- entity: input_select.ground_floor_plan
- extra_styles: |
- @keyframes mymove {
- 30% {box-shadow: 0 0 20px white;}
- }
- icon: 'mdi:google-home'
- name: Media
- state:
- - icon: 'mdi:google-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Lights
- - icon: 'mdi:google-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Security
- - icon: 'mdi:google-home'
- styles:
- card:
- - height: 80px
- icon:
- - width: 45%
- - opacity: 0.5
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Temperature
- - color: white
- icon: 'mdi:google-home'
- operator: default
- styles:
- card:
- - height: 80px
- - animation: mymove 10s infinite
- icon:
- - width: 45%
- - padding-top: 10px
- name:
- - padding: 10px
- - font-size: 10px
- - text-overflow: unset
- - white-space: unset
- - word-break: break-word
- value: Media
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.ground_floor_plan
- option: Media
- #########################################################################
- ###### ↓ 'Gap' Card (Right of Horizontal row) ↓
- #########################################################################
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- type: horizontal-stack
- #########################################################################
- ###### ↓ 'Gap' Card (Between elements - Buttons and Floorplan) ↓
- #########################################################################
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: 'custom:button-card'
- #########################################################################
- ###### ↓ 'Gap' Card (Left of Horizontal row) ↓
- #########################################################################
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- #########################################################################
- ###### ↓ Start of Floor Plan Image and Picture Elements ↓
- #########################################################################
- - type: 'custom:state-switch'
- entity: input_select.ground_floor_plan
- states:
- Lights:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:lamp'
- tap_action:
- action: toggle
- style:
- top: 6%
- left: 8%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 20%
- left: 15%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 12%
- left: 65%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.front_door_lamp
- icon: 'mdi:wall-sconce-flat'
- tap_action:
- action: toggle
- style:
- top: 72%
- left: 63%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: switch.sonoff_10004008d2
- icon: 'mdi:floor-lamp'
- tap_action:
- action: toggle
- style:
- top: 29%
- left: 50%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_corner_rgb
- icon: 'mdi:led-strip-variant'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: Light
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- }
- card:
- type: entities
- entities:
- - type: 'custom:light-popup-card'
- entity: light.kitchen_corner_rgb
- icon: none
- style:
- $: >
- .mdc-dialog .mdc-dialog__container {
- width: 100%;
- }
- .mdc-dialog .mdc-dialog__container
- .mdc-dialog__surface {
- width:100%;
- box-shadow:none;
- }
- .: |
- :host {
- --mdc-theme-surface: rgba(0,0,0,0);
- --secondary-background-color: rgba(0,0,0,0);
- --ha-card-background: rgba(0,0,0,0);
- --mdc-dialog-scrim-color: rgba(0,0,0,0.8);
- --mdc-dialog-min-height: 100%;
- --mdc-dialog-min-width: 100%;
- --mdc-dialog-max-width: 100%;
- }
- mwc-icon-button {
- color: #FFF;
- }
- fullscreen: false
- brightnessWidth: 130px
- brightnessHeight: 360px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: 'rgba(25, 25, 25, 0.9)'
- actionSize: 4.5em
- actionsInARow: 2
- actions:
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_corner_rgb
- rgb_color:
- - 255
- - 255
- - 255
- color: '#FFFFFF'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_corner_rgb
- rgb_color:
- - 255
- - 0
- - 0
- color: '#FF0000'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_corner_rgb
- rgb_color:
- - 0
- - 102
- - 204
- color: '#0066CC'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_corner_rgb
- rgb_color:
- - 0
- - 255
- - 0
- color: '#00FF00'
- style:
- top: 39%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_sink_rgb
- icon: 'mdi:led-strip-variant'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: Light
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- }
- card:
- type: entities
- entities:
- - type: 'custom:light-popup-card'
- entity: light.kitchen_sink_rgb
- icon: none
- style:
- $: >
- .mdc-dialog .mdc-dialog__container {
- width: 100%;
- }
- .mdc-dialog .mdc-dialog__container
- .mdc-dialog__surface {
- width:100%;
- box-shadow:none;
- }
- .: |
- :host {
- --mdc-theme-surface: rgba(0,0,0,0);
- --secondary-background-color: rgba(0,0,0,0);
- --ha-card-background: rgba(0,0,0,0);
- --mdc-dialog-scrim-color: rgba(0,0,0,0.8);
- --mdc-dialog-min-height: 100%;
- --mdc-dialog-min-width: 100%;
- --mdc-dialog-max-width: 100%;
- }
- mwc-icon-button {
- color: #FFF;
- }
- fullscreen: false
- brightnessWidth: 130px
- brightnessHeight: 360px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: 'rgba(25, 25, 25, 0.9)'
- actionSize: 4.5em
- actionsInARow: 2
- actions:
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_sink_rgb
- rgb_color:
- - 255
- - 255
- - 255
- color: '#FFFFFF'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_sink_rgb
- rgb_color:
- - 255
- - 0
- - 0
- color: '#FF0000'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_sink_rgb
- rgb_color:
- - 0
- - 102
- - 204
- color: '#0066CC'
- - service: light.turn_on
- service_data:
- entity_id: light.kitchen_sink_rgb
- rgb_color:
- - 0
- - 255
- - 0
- color: '#00FF00'
- style:
- top: 60%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_corner_rgb
- icon: 'mdi:ceiling-light'
- style:
- top: 76%
- left: 26%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Security:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: binary_sensor.openclose_26
- icon: 'mdi:door-closed'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.openclose_26
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.openclose_26
- hours_to_show: 6
- refresh_interval: 0
- style:
- top: 0.5%
- left: 21%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_30
- icon: 'mdi:door-closed'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.openclose_30
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.openclose_30
- hours_to_show: 6
- refresh_interval: 0
- style:
- top: 25%
- left: 35%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_20
- icon: 'mdi:door-closed'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.openclose_20
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.openclose_20
- hours_to_show: 6
- refresh_interval: 0
- style:
- top: 46.5%
- left: 42%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.openclose_19
- icon: 'mdi:door-closed'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.openclose_19
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.openclose_19
- hours_to_show: 6
- refresh_interval: 0
- style:
- color: red
- top: 89%
- left: 65%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.hall_pir
- icon: 'mdi:motion-sensor'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.ground_hallway_motion
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.ground_hallway_motion
- hours_to_show: 6
- refresh_interval: 0
- style:
- top: 52%
- left: 31%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.hall_pir
- tap_action:
- action: more-info
- icon: 'mdi:motion-sensor'
- style:
- top: 3%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: binary_sensor.kitchen_motion_sensor2
- icon: 'mdi:motion-sensor'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: 'custom:vertical-stack-in-card'
- cards:
- - type: entity
- entity: binary_sensor.kitchen_motion_sensor2
- name: false
- hide_name: true
- show_label: false
- show_name: false
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: binary_sensor.kitchen_motion_sensor2
- hours_to_show: 6
- refresh_interval: 0
- style:
- top: 89%
- left: 50%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: camera.uvc_g3_back_2
- icon: 'mdi:cctv'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: picture-entity
- entity: camera.uvc_g3_back_2
- show_name: false
- show_state: false
- camera_view: live
- style:
- top: 37.5%
- left: 66%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Temperature:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: call-service
- service: browser_mod.popup
- service_data:
- title: sss
- hide_header: true
- deviceID: this
- style:
- $: >
- .mdc-dialog {
- backdrop-filter: blur(10px);
- background: rgba(0,0,0,0.5);
- }
- .mdc-dialog .mdc-dialog__container .mdc-dialog__surface
- {
- background: none;
- box-shadow: none;
- border-radius: 1em;
- }
- ha-card {
- background-color: transparent;
- box-shadow: none;
- text-color: red;
- }
- card:
- type: entities
- entities:
- - type: 'custom:mini-graph-card'
- entities:
- - entity: sensor.temperature_27
- name: Hallway
- icon: 'mdi:home-floor-g'
- align_state: right
- align_header: right
- name: Ground Hallway Temperature
- show:
- name: true
- icon: false
- style:
- top: 12%
- left: 29%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: more-info
- style:
- top: 30%
- left: 63%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: sensor.temperature_27
- icon: 'mdi:thermometer'
- tap_action:
- action: more-info
- style:
- top: 57%
- left: 43%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: light.kitchen_sink_rgb
- icon: 'mdi:water-alert'
- style:
- top: 72%
- left: 83%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- Media:
- type: picture-elements
- image: local/floorg.png
- elements:
- - type: state-icon
- entity: media_player.snug_tv
- icon: 'mdi:television'
- tap_action:
- action: more-info
- style:
- top: 10%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- - type: state-icon
- entity: media_player.googlehome4654
- icon: 'mdi:google-home'
- tap_action:
- action: more-info
- style:
- top: 43%
- left: 85%
- '--paper-item-icon-color': 'rgba(255,255,255,0.5)'
- '--paper-item-icon-active-color': white
- border-radius: 100%
- background-color: '#0f1b29'
- border: 2px solid white
- transform: 'scale(1.1,1.1)'
- #########################################################################
- ###### ↓ 'Gap' Card (Right of Horizontal row) ↓
- #########################################################################
- - color_type: blank-card
- icon: 'mdi:led-strip-variant'
- name: Floor
- styles:
- card:
- - width: 25px
- type: 'custom:button-card'
- #########################################################################
- ###### ↓ 'Gap' Card (Gap at the end of Floorplan) ↓
- #########################################################################
- - color_type: blank-card
- styles:
- card:
- - height: 20px
- type: 'custom:button-card'
- type: vertical-stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement