Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: alarm_control_panel.first_floor
- show_state: true
- icon: mdi:shield-home-outline
- show_icon: true
- name: Alarm
- styles:
- card:
- - padding: 8% 2% 8% 2%
- - box-shadow: inset 0 0 5px rgba(0,0,0,0.3)
- grid:
- - grid-template-areas: '"i i n n n" "i i s s s" "s1 office floor house s2"'
- - grid-template-columns: min-content 1fr 1fr 1fr min-content
- - grid-template-rows: min-content min-content
- - gap: 7px 10px
- icon:
- - width: 40px
- - color: white
- - position: relative
- - top: '-5px'
- - left: 6px
- name:
- - justify-self: start
- - font-weight: 500
- - font-size: 20px
- - text-align: center
- - position: relative
- - left: '-6px'
- state:
- - justify-self: start
- - position: relative
- - top: '-6px'
- - font-weight: 300
- - font-size: 14px
- - text-align: center
- - left: '-6px'
- custom_fields:
- s1:
- card:
- color_type: blank-card
- styles:
- card:
- - width: 5px
- type: custom:button-card
- s2:
- card:
- color_type: blank-card
- styles:
- card:
- - width: 5px
- type: custom:button-card
- office:
- card:
- type: custom:button-card
- name: false
- label: false
- show_label: true
- tap_action:
- action: none
- icon: phu:rooms-office
- styles:
- card:
- - background-color: '#2b374e'
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- - width: 58px
- - height: 58px
- name:
- - justify-self: center
- - font-weight: 400
- - font-size: 13px
- - text-align: center
- - padding-bottom: 5px
- icon:
- - width: 30px
- - color: white
- floor:
- card:
- type: custom:button-card
- name: false
- label: Back
- show_label: false
- aspect_ratio: 1/1
- tap_action:
- action: none
- icon: phu:zones-areas-first-floor
- styles:
- card:
- - background-color: '#2b374e'
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- name:
- - justify-self: center
- - font-weight: 400
- - font-size: 13px
- - text-align: center
- - padding-bottom: 5px
- icon:
- - width: 30px
- - color: white
- house:
- card:
- type: custom:button-card
- name: false
- show_label: false
- aspect_ratio: 1/1
- tap_action:
- action: none
- icon: phu:tabbar-home
- styles:
- card:
- - background-color: '#2b374e'
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- name:
- - justify-self: center
- - font-weight: 400
- - font-size: 13px
- - text-align: center
- - padding-bottom: 5px
- icon:
- - width: 30px
- - color: white
- - type: custom:button-card
- entity: binary_sensor.d_2_office_door
- show_state: true
- icon: mdi:shield-home-outline
- entity_picture: /local/lockdoor.png
- show_entity_picture: true
- name: Door
- styles:
- card:
- - padding: 8% 2% 9% 2%
- - box-shadow: inset 0 0 5px rgba(0,0,0,0.3)
- grid:
- - grid-template-areas: '"i i n n" "i i s s" "s1 office house s2"'
- - grid-template-columns: 1fr 1fr 1fr 1fr
- - grid-template-rows: min-content min-content
- - gap: 7px 10px
- icon:
- - width: 40px
- - color: white
- - position: relative
- - top: '-5px'
- - left: '-12px'
- name:
- - justify-self: start
- - font-weight: 500
- - font-size: 20px
- - text-align: center
- - position: relative
- - left: '-42px'
- state:
- - justify-self: start
- - position: relative
- - top: '-6px'
- - font-weight: 300
- - font-size: 14px
- - text-align: center
- - left: '-42px'
- custom_fields:
- s1:
- card:
- color_type: blank-card
- styles:
- card:
- - width: 5px
- type: custom:button-card
- s2:
- card:
- color_type: blank-card
- styles:
- card:
- - width: 5px
- type: custom:button-card
- office:
- card:
- type: custom:button-card
- name: false
- label: false
- show_label: true
- tap_action:
- action: none
- entity_picture: /local/lockdoor.png
- show_entity_picture: true
- styles:
- card:
- - background-color: '#2b374e'
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- - width: 88px
- - height: 58px
- name:
- - justify-self: center
- - font-weight: 400
- - font-size: 13px
- - text-align: center
- - padding-bottom: 5px
- icon:
- - width: 30px
- - color: white
- house:
- card:
- type: custom:button-card
- name: false
- show_label: false
- tap_action:
- action: none
- entity_picture: /local/lockdoor.png
- show_entity_picture: true
- styles:
- card:
- - background-color: '#2b374e'
- - box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px
- - width: 88px
- - height: 58px
- name:
- - justify-self: center
- - font-weight: 400
- - font-size: 13px
- - text-align: center
- - padding-bottom: 5px
- icon:
- - width: 30px
- - color: white
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement