Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:button-card
- entity: input_select.column_ab1
- show_name: false
- name: Cameras
- styles:
- grid:
- - grid-template-areas: '"camera list"'
- grid-template-columns: auto auto
- grid-template-rows: auto
- - align-items: start
- align-content: start
- align-self: start
- justify-content: start
- justify-self: start
- column-gap: 5px
- card:
- - background-color: transparent
- border: solid 12px transparent
- height: 375px
- width: 628px
- padding: 15px 15px 15px 15px
- margin: 0px 0px 0px 0px
- show_state: false
- show_icon: false
- custom_fields:
- camera:
- card:
- type: custom:button-card
- show_state: false
- show_name: true
- show_icon: false
- styles:
- grid:
- - grid-template-areas: >-
- "front street driveway kitchen patio cot backyard nursery
- cot_backup"
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr
- card:
- - background-color: transparent
- padding: 0px 0px 0px 0px
- margin: 0px 0px 0px 0px
- width: 450px
- height: 323px
- border-radius: 15px
- custom_fields:
- front:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Front
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/100?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- street:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Street
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/101?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- backyard:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Backyard
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/104?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- driveway:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Driveway
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/102?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- garage:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Garage
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/93?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- nursery:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Nursery
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/109?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- kitchen:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Kitchen
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/72?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- patio:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Patio
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/102?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -70px !important;
- }
- cot:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Cot
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/121?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- tap_action:
- action: perform-action
- perform_action: input_text.set_value
- target:
- entity_id: input_text.popup_entity
- data:
- value: cot
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -80px !important;
- margin-top: -5px !important;
- }
- cot_backup:
- card:
- type: conditional
- conditions:
- - condition: state
- entity: input_select.camera_selecter
- state: Cot Backup
- card:
- type: custom:mod-card
- card:
- type: iframe
- url: >-
- /api/scrypted/ac79914ec8c0f3ddf9a6b7def5ce70ad/endpoint/@scrypted/nvr/public/#/iframe/123?imageClick=app&videoClick=app&live=true
- allow_open_top_navigation: true
- tap_action:
- action: perform-action
- perform_action: input_text.set_value
- target:
- entity_id: input_text.popup_entity
- data:
- value: cot
- style: |
- ha-card {
- width: 43vw !important;
- height: 38vh !important;
- justify-content: center;
- align-items: center;
- align-content: center;
- justify-self: center;
- overflow-x: auto;
- margin-left: -80px !important;
- margin-top: -5px !important;
- }
- list:
- card:
- type: custom:button-card
- styles:
- grid:
- - grid-template-areas: |
- "cot"
- "front"
- "street"
- "nursery"
- "driveway"
- "backyard"
- "garage"
- "kitchen"
- "cot_backup"
- - row-gap: 12px
- card:
- - background-color: transparent
- border-radius: 0px
- height: 330px
- overflow-y: auto
- margin: 0px 0px 0px 0px
- padding: 0px 15px 0px 15px
- custom_fields:
- cot:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Cot
- front:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Front
- street:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Street
- nursery:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Nursery
- backyard:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Backyard
- garage:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Garage
- driveway:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Driveway
- kitchen:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Kitchen
- cot_backup:
- card:
- type: custom:button-card
- template: camera_list
- variables:
- var_name: Cot Backup
- card_mod:
- style: |
- :host {
- display: block;
- position: relative; margin: 0px 6px 0px 0px;
- }
- :host::before {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: 30px;
- -webkit-backdrop-filter: blur(50px);
- z-index: -1;
- padding: .1rem;
- background: linear-gradient(60deg,
- rgba(255,255,255,0.0) 0%,
- rgba(255,255,255,0.2) 49%,
- rgba(255,255,255,0.2) 51%,
- rgba(255,255,255,0.0) 100%);
- -webkit-mask:
- linear-gradient(#fff 0 0) content-box,
- linear-gradient(#fff 0 0);
- -webkit-mask-composite: xor;
- mask-composite: exclude;
- z-index: 0; filter: saturate(140%);
- }
- :host::after {
- content: "";
- background: linear-gradient(180deg, rgba(255,255,255, 0.1) 20%, rgba(255,255,255, 0.0) 100%);
- position: absolute;
- inset: 0;
- border-radius: 30px;
- box-shadow: inset -8px 10px 15px rgba(0, 0, 0, 0.1);
- z-index: -1;
- -webkit-backdrop-filter:blur(30px) saturate(110%) brightness(90%);
- filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2)); }
Advertisement
Add Comment
Please, Sign In to add comment