Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- views:
- - type: sections
- max_columns: 6
- title: Tabv3
- path: tabv3
- sections:
- - type: grid
- cards:
- - type: custom:mushroom-chips-card
- chips:
- - type: conditional
- conditions:
- - condition: state
- entity: device_tracker.itag_bermuda_tracker
- state: home
- chip:
- type: entity
- entity: device_tracker.itag_bermuda_tracker
- content_info: none
- name: Key
- icon: mdi:car-key
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.galaxytab_interactive
- state: 'on'
- chip:
- type: entity
- entity: automation.tablet_screen_on
- double_tap_action:
- action: none
- content_info: none
- hold_action:
- action: none
- tap_action:
- action: call-service
- service: notify.mobile_app_galaxytab
- target: {}
- data:
- message: command_launch_app
- data:
- package_name: nl.matthijsvh.screenoff
- icon: mdi:tablet-dashboard
- - type: conditional
- conditions:
- - condition: state
- entity: binary_sensor.galaxytab_interactive
- state: 'off'
- chip:
- type: entity
- entity: automation.tablet_screen_on_2
- double_tap_action:
- action: none
- use_entity_picture: false
- content_info: none
- tap_action:
- action: call-service
- service: notify.mobile_app_galaxytab
- target: {}
- data:
- message: command_screen_on
- data:
- command: keep_screen_on
- hold_action:
- action: none
- icon: mdi:tablet
- - type: weather
- entity: weather.home
- show_temperature: true
- show_conditions: false
- - type: spacer
- - type: conditional
- conditions:
- - condition: state
- entity: input_boolean.nikihomeornot
- state: 'on'
- chip:
- type: entity
- entity: person.niki
- use_entity_picture: true
- name: Niki
- content_info: none
- tap_action:
- action: more-info
- - type: conditional
- conditions:
- - entity: input_boolean.neohomeornot
- state: 'on'
- chip:
- type: entity
- entity: person.nishant_kumar
- double_tap_action:
- action: none
- use_entity_picture: true
- content_info: none
- tap_action:
- action: more-info
- hold_action:
- action: none
- name: Neo
- card_mod:
- style: |
- ha-card {
- min-height: 50px !important;
- }
- - type: custom:bubble-card
- card_type: separator
- name: Living Room
- card_layout: large
- sub_button: []
- icon: mdi:sofa
- styles: |2-
- .bubble-line {
- background: var(--primary-text-color);
- opacity: 0.9;
- }
- .bubble-sub-button-2 {
- background-color: rgba(250,180,220,0.7);
- }
- .bubble-sub-button-1 {
- background-color: rgba(250,180,220,0.7);
- }
- - type: horizontal-stack
- cards:
- - type: custom:bubble-card
- card_type: button
- entity: light.lamps
- tap_action:
- action: toggle
- hold_action: {}
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- .bubble-button-background {
- border-radius: 18px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- show_state: true
- - type: custom:bubble-card
- card_type: button
- entity: light.dining_room
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- .bubble-button-background {
- border-radius: 18px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- show_state: true
- - type: horizontal-stack
- cards:
- - type: custom:bubble-card
- card_type: button
- entity: light.living_room_bulb
- name: Living
- icon: mdi:lightbulb
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- .bubble-button-background {
- border-radius: 18px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- show_state: true
- card_mod:
- style: |
- ha-card {
- min-height: 100px !important;
- }
- - type: custom:bubble-card
- card_type: button
- entity: light.living_room_hanging_lamps
- icon: mdi:ceiling-light-multiple
- name: 'Hanging '
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- .bubble-button-background {
- border-radius: 18px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- show_state: true
- - type: custom:bubble-card
- card_type: button
- entity: light.living_room_terrace_lamps
- icon: mdi:coach-lamp
- name: 'Terrace '
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- .bubble-button-background {
- border-radius: 18px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- show_state: true
- - type: custom:bubble-card
- card_type: separator
- name: ' Bedroom '
- card_layout: large
- sub_button:
- - icon: mdi:water-percent-alert
- entity: sensor.bedroom_humidity
- show_state: true
- show_attribute: false
- show_background: true
- - entity: sensor.bedroom_temperature
- show_state: true
- icon: mdi:bed
- styles: |2-
- .bubble-line {
- background: var(--primary-text-color);
- opacity: 0.9;
- }
- .bubble-sub-button-2 {
- background-color: rgba(250,180,220,0.7);
- }
- .bubble-sub-button-1 {
- background-color: rgba(250,180,220,0.7);
- }
- - type: horizontal-stack
- cards:
- - type: custom:bubble-card
- card_type: button
- entity: light.bedroom_tubelight
- icon: mdi:lightbulb-fluorescent-tube
- name: Tube
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- button_type: switch
- show_state: true
- - type: custom:bubble-card
- card_type: button
- entity: switch.bed_room_socket
- icon: mdi:power-socket-au
- name: Socket
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- tap_action:
- action: toggle
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- button_type: state
- show_state: true
- - type: custom:bubble-card
- card_type: button
- entity: fan.bed_room_fan_2
- button_action:
- tap_action:
- service: ''
- target: {}
- hold_action:
- action: toggle
- name: Fan
- tap_action:
- action: toggle
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- show_state: true
- - type: horizontal-stack
- cards:
- - type: custom:bubble-card
- card_type: button
- entity: light.lamp
- icon: mdi:home-lightbulb-outline
- name: Bulb
- button_action:
- hold_action:
- action: toggle
- tap_action:
- action: toggle
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- show_state: true
- card_mod:
- style: |
- ha-card {
- min-height: 100px !important;
- }
- - type: custom:bubble-card
- card_type: button
- entity: light.bedroom_bathroom
- button_action:
- tap_action:
- action: toggle
- service: ''
- target:
- entity_id: script.fan_speed
- hold_action:
- action: toggle
- name: 'Bathroom '
- icon: mdi:bathtub
- tap_action:
- action: toggle
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- show_state: true
- column_span: 1
- - type: grid
- cards:
- - type: custom:bubble-card
- card_type: separator
- name: ' Media '
- card_layout: large
- styles: |2-
- .bubble-line {
- background: var(--primary-text-color);
- opacity: 0.9;
- }
- icon: mdi:music
- - type: custom:bubble-card
- card_type: media-player
- entity: media_player.speakers
- show_attribute: true
- attribute: icon
- name: Speakers
- show_name: true
- icon: mdi:speaker-multiple
- styles: |-
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- --bubble-main-background-color: rgba(200,230,240,0.4) !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- - type: custom:bubble-card
- card_type: media-player
- entity: media_player.flipkarttv
- show_attribute: true
- attribute: icon
- name: TV
- show_name: true
- icon: mdi:speaker-multiple
- card_mod:
- style: |
- ha-card {
- min-height: 100px !important;
- }
- styles: |-
- ha-card {
- --bubble-main-background-color: rgba(200,230,240,0.4) !important;
- opacity: 1;
- --bubble-icon-background-color: black;
- }
- .bubble-icon {
- color: white !important;
- }
- - type: custom:bubble-card
- card_type: separator
- name: 'Misc '
- card_layout: large
- styles: |2-
- .bubble-line {
- background: var(--primary-text-color);
- opacity: 0.9;
- }
- icon: mdi:hammer-screwdriver
- - type: horizontal-stack
- cards:
- - type: custom:bubble-card
- card_type: button
- entity: lock.door_lock
- show_attribute: false
- show_state: true
- name: Lock
- styles: |-
- .bubble-button-background {
- border-radius: 18px;
- background: ${state === "locked" ? 'rgba(190,180,100,0.9)' : 'red'} !important;
- }
- .bubble-button-card-container {
- border-radius: 18px;
- min-height: 80px;
- }
- ha-card {
- bubble-main-background-color: ${state === "locked" ? 'rgba(190,180,100,0.9)' : 'red'} !important;
- }
- tap_action:
- action: toggle
- button_action:
- hold_action:
- action: toggle
- tap_action:
- action: toggle
- button_type: state
- - type: custom:bubble-card
- card_type: button
- entity: auto
Advertisement
Add Comment
Please, Sign In to add comment