Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cards:
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: sensor.window_door_sensor_3_battery_level
- name: LIGHTS
- icon: phu:bulb-group
- show_state: false
- label: Overview
- show_label: true
- styles:
- card:
- - height: 80px
- - background-color: transparent
- grid:
- - grid-template-areas: '"i n" "i n" "i l"'
- - grid-template-columns: 0.3fr 1fr
- - grid-template-rows: min-content min-content min-content
- img_cell:
- - align-self: start
- - text-align: start
- name:
- - justify-self: start
- - font-size: 28px
- - font-weight: 300
- label:
- - justify-self: start
- - font-size: 16px
- - font-weight: 300
- icon:
- - width: 50px
- - align-self: start
- - text-align: start
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: custom:button-card
- color: transparent
- entity: input_select.beta_menu
- show_name: true
- color_type: label-card
- name: Overview
- icon: mdi:home-lightbulb-outline
- state:
- - icon: mdi:home-lightbulb-outline
- styles:
- icon:
- - color: white
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- value: Overview
- - icon: mdi:home-lightbulb-outline
- styles:
- icon:
- - color: white
- - opacity: 0.5
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.beta_menu
- option: Overview
- - type: custom:button-card
- color: transparent
- entity: input_select.beta_menu
- show_name: true
- color_type: label-card
- name: Lights
- icon: mdi:lightbulb-multiple-outline
- state:
- - icon: mdi:lightbulb-multiple-outline
- styles:
- icon:
- - color: white
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- value: Alarm
- - icon: mdi:lightbulb-multiple-outline
- styles:
- icon:
- - color: white
- - opacity: 0.5
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- operator: default
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.beta_menu
- option: Alarm
- - type: custom:button-card
- color: transparent
- entity: input_select.beta_menu
- show_name: true
- color_type: label-card
- name: Devices
- icon: phu:motion-sensor
- state:
- - icon: phu:motion-sensor
- styles:
- icon:
- - color: white
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- value: Devices
- - icon: phu:motion-sensor
- styles:
- icon:
- - color: white
- - opacity: 0.5
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- operator: default
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.beta_menu
- option: Devices
- - type: custom:button-card
- color: transparent
- entity: input_select.beta_menu
- show_name: true
- color_type: label-card
- name: Automation
- icon: mdi:robot
- state:
- - icon: mdi:robot
- styles:
- icon:
- - color: white
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- value: Automations
- - icon: mdi:robot
- styles:
- icon:
- - color: white
- - opacity: 0.5
- - width: 40px
- name:
- - color: white
- - font-size: 12px
- - padding-top: 5px
- operator: default
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.beta_menu
- option: Automations
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - color_type: blank-card
- styles:
- card:
- - height: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- icon: phu:table-shade
- entity: sensor.window_door_sensor_3_battery_level
- show_icon: false
- name: false
- label: false
- show_label: false
- show_state: false
- show_name: false
- styles:
- card:
- - background-color: transparent
- - border-radius: 5%
- - padding: 0%
- grid:
- - grid-template-areas: '"lb fg f1 f2 "'
- - grid-template-columns: 1fr 15% 15% 15%
- - grid-template-rows: min-content
- - gap: 0px 10px
- custom_fields:
- fg:
- card:
- type: custom:button-card
- entity: input_select.chr_light_floor_select
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: mdi:home-floor-g
- state:
- - icon: mdi:home-floor-g
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- value: Ground
- - icon: mdi:home-floor-g
- styles:
- card:
- - opacity: 0.2
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_floor_select
- option: Ground
- f1:
- card:
- type: custom:button-card
- entity: input_select.chr_light_floor_select
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: mdi:home-floor-1
- state:
- - icon: mdi:home-floor-1
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- value: First
- - icon: mdi:home-floor-1
- styles:
- card:
- - opacity: 0.2
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_floor_select
- option: First
- f2:
- card:
- type: custom:button-card
- entity: input_select.chr_light_floor_select
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: mdi:home-floor-2
- state:
- - icon: mdi:home-floor-2
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- value: Second
- - icon: mdi:home-floor-2
- styles:
- card:
- - opacity: 0.2
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- icon:
- - color: white
- - width: 30px
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_floor_select
- option: Second
- lb:
- card:
- type: custom:button-card
- color: transparent
- name: |
- [[[
- return states['input_select.chr_light_floor_select'].state;
- ]]]
- styles:
- card:
- - background-color: transparent
- name:
- - font-size: 22px
- - font-weight: 300
- - justify-self: left
- - padding-left: 5%
- - padding-top: 3%
- - padding-bottom: 3%
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - color_type: blank-card
- styles:
- card:
- - height: 5px
- type: custom:button-card
- - type: custom:state-switch
- entity: input_select.chr_light_floor_select
- states:
- Ground:
- type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- icon: phu:table-shade
- entity: sensor.window_door_sensor_3_battery_level
- show_icon: false
- name: false
- label: false
- show_label: false
- show_state: false
- show_name: false
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - border-radius: 5%
- - padding: 5%
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"ln r1 r2 r3" "rm rm rm rm"'
- - grid-template-columns: 55% 15% 15% 15%
- - grid-template-rows: min-content 1fr
- - gap: 15px 1px
- custom_fields:
- r1:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_ground
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-hallway
- state:
- - icon: phu:rooms-hallway
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Hallway
- - icon: phu:rooms-hallway
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_ground
- option: Hallway
- r2:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_ground
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-porch
- state:
- - icon: phu:rooms-porch
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Snug
- - icon: phu:rooms-porch
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_ground
- option: Snug
- r3:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_ground
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-kitchen
- state:
- - icon: phu:rooms-kitchen
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Kitchen
- - icon: phu:rooms-kitchen
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_ground
- option: Kitchen
- rm:
- card:
- type: custom:state-switch
- entity: input_select.chr_light_room_select_ground
- states:
- Hallway:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.ground_hallway_lamp
- icon: phu:table-shade
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.front_door_ceiling_light
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Floor Door
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: light.ground_floor_hallway
- icon: phu:pendant-round
- show_icon: true
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- aspect_ratio: 1/1
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- - opacity: 0.2
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- custom_fields:
- bright: |
- [[[
- var b = states['light.snug_ceiling'].attributes.brightness;
- return parseInt(b ? b/2.55 : '0') + '%';
- ]]]
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.office_lamp_2
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Porch
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- - type: custom:button-card
- color_type: blank-card
- Snug:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.sonoff_10004008d2
- icon: phu:floor-shade
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Floor Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.snug_ceiling
- icon: phu:ceiling-lamp-round
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- Kitchen:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.kitchen_rgb_lights
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: RGB Cabinets
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.kitchen_lights_2
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- ln:
- card:
- type: custom:button-card
- color: transparent
- name: |
- [[[
- return states['input_select.chr_light_room_select_ground'].state;
- ]]]
- styles:
- card:
- - background-color: transparent
- name:
- - font-size: 18px
- - font-weight: 300
- - justify-self: left
- - padding-left: 2%
- - padding-top: 3%
- - padding-bottom: 3%
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- First:
- type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- icon: phu:table-shade
- entity: sensor.window_door_sensor_3_battery_level
- show_icon: false
- name: false
- label: false
- show_label: false
- show_state: false
- show_name: false
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - border-radius: 5%
- - padding: 5%
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"ln r1 r2 r3" "rm rm rm rm"'
- - grid-template-columns: 55% 15% 15% 15%
- - grid-template-rows: min-content 1fr
- - gap: 15px 1px
- custom_fields:
- r1:
- card:
- type: custom:button-card
- color_type: blank-card
- r2:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_first
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-staircase
- state:
- - icon: phu:rooms-staircase
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Hallway
- - icon: phu:rooms-staircase
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_first
- option: Hallway
- r3:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_first
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-living
- state:
- - icon: phu:rooms-living
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Living Room
- - icon: phu:rooms-living
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_first
- option: Living Room
- rm:
- card:
- type: custom:state-switch
- entity: input_select.chr_light_room_select_first
- states:
- Hallway:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.second_floor_hallway
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- - type: custom:button-card
- color_type: blank-card
- Living Room:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.living_room_tv_cabinet_rgb_light
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: RGB Cabinets
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.living_room_lamp
- icon: phu:floor-shade
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Floor Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: switch.living_room_corner_lamp
- icon: phu:desk-lamp
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- ln:
- card:
- type: custom:button-card
- color: transparent
- name: |
- [[[
- return states['input_select.chr_light_room_select_first'].state;
- ]]]
- styles:
- card:
- - background-color: transparent
- name:
- - font-size: 18px
- - font-weight: 300
- - justify-self: left
- - padding-left: 2%
- - padding-top: 3%
- - padding-bottom: 3%
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- Second:
- type: horizontal-stack
- cards:
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- icon: phu:table-shade
- entity: sensor.window_door_sensor_3_battery_level
- show_icon: false
- name: false
- label: false
- show_label: false
- show_state: false
- show_name: false
- styles:
- card:
- - background-color: rgba(43, 55, 78, 0.7)
- - border-radius: 5%
- - padding: 5%
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"ln r1 r2 r3 r4" "rm rm rm rm rm"'
- - grid-template-columns: 40% 15% 15% 15% 15%
- - grid-template-rows: min-content 1fr
- - gap: 15px 1px
- custom_fields:
- r1:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_second
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-staircase
- state:
- - icon: phu:rooms-staircase
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Hallway
- - icon: phu:rooms-staircase
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_second
- option: Hallway
- r2:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_second
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-office
- state:
- - icon: phu:rooms-office
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Office
- - icon: phu:rooms-office
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_second
- option: Office
- r3:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_second
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-bedroom
- state:
- - icon: phu:rooms-bedroom
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Bedroom
- - icon: phu:rooms-bedroom
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_second
- option: Bedroom
- r4:
- card:
- type: custom:button-card
- entity: input_select.chr_light_room_select_second
- name: false
- show_name: false
- aspect_ratio: 1/1
- icon: phu:rooms-bathroom
- state:
- - icon: phu:rooms-bathroom
- styles:
- card:
- - background-color: '#242e42'
- icon:
- - color: white
- - width: 25px
- value: Ensuite
- - icon: phu:rooms-bathroom
- styles:
- icon:
- - color: white
- - width: 25px
- - opacity: 0.5
- operator: default
- styles:
- icon: null
- tap_action:
- action: call-service
- service: input_select.select_option
- service_data:
- entity_id: input_select.chr_light_room_select_second
- option: Ensuite
- rm:
- card:
- type: custom:state-switch
- entity: input_select.chr_light_room_select_second
- states:
- Hallway:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.second_floor_hallway
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- - type: custom:button-card
- color_type: blank-card
- Living Room:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.living_room_tv_cabinet_rgb_light
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: RGB Cabinets
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.living_room_lamp
- icon: phu:floor-shade
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Floor Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: switch.living_room_corner_lamp
- icon: phu:desk-lamp
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- Office:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.office_lamp_2
- icon: phu:desk-lamp
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: light.office_ceiling_light
- icon: phu:pendant-round
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Floor Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: light.data_cabinet_led_2
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Data Cabinet
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- Bedroom:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.master_lights
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - type: custom:button-card
- entity: switch.sonoff_1000ae39fc_2
- icon: phu:desk-lamp
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Left Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: switch.sonoff_1000ae39fc_2
- icon: phu:desk-lamp
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Right Lamp
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: light.master_bedside_sam_rgb_light
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Left RGB
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: light.master_bedside_sam_rgb_light
- icon: phu:light-strip
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Right RGB
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - opacity: 0.7
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- Ensuite:
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: switch.office_lamp_2
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Ceiling
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- entity: switch.office_lamp_2
- icon: phu:bulbs-spot
- show_icon: true
- aspect_ratio: 1/1
- hold_action:
- action: more-info
- tap_action:
- action: toggle
- name: Shower
- show_state: true
- state:
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'off'
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - opacity: 0.7
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - opacity: 0.7
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - opacity: 0.7
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - opacity: 0.2
- - color: white
- custom_fields:
- bright:
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: unavailable
- - styles:
- card:
- - background-color: '#242e42'
- - border-radius: 10%
- - padding: 12%
- - color: ivory
- - font-size: 10px
- - text-shadow: 0px 0px 5px black
- - text-transform: capitalize
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- grid:
- - grid-template-areas: '"i bright" "n n" "s s"'
- - grid-template-columns: 1fr 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - font-weight: 300
- - font-size: 10px
- - color: white
- - align-self: middle
- - justify-self: start
- state:
- - font-weight: bold
- - font-size: 9px
- - color: white
- - align-self: middle
- - justify-self: start
- img_cell:
- - justify-content: start
- - align-items: start
- - margin: none
- icon:
- - width: 100%
- - color: white
- custom_fields:
- bright:
- - opacity: 0
- - align-self: start
- - justify-self: end
- - border-radius: 20px
- - border-style: solid
- - border-width: 1px
- - font-size: 10px
- - font-weight: 300
- - box-shadow: 2px 2px rgba(0,0,0,0.7)
- - border-color: '#67727e'
- - padding: 15%
- value: 'on'
- - type: custom:button-card
- color_type: blank-card
- ln:
- card:
- type: custom:button-card
- color: transparent
- name: |
- [[[
- return states['input_select.chr_light_room_select_second'].state;
- ]]]
- styles:
- card:
- - background-color: transparent
- name:
- - font-size: 18px
- - font-weight: 300
- - justify-self: left
- - padding-left: 2%
- - padding-top: 3%
- - padding-bottom: 3%
- - color_type: blank-card
- styles:
- card:
- - width: 10px
- type: custom:button-card
- type: vertical-stack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement