Guest User

Untitled

a guest
Jan 9th, 2025
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 20.05 KB | None | 0 0
  1. views:
  2.   - type: sections
  3.     max_columns: 6
  4.     title: Tabv3
  5.     path: tabv3
  6.     sections:
  7.       - type: grid
  8.         cards:
  9.           - type: custom:mushroom-chips-card
  10.             chips:
  11.               - type: conditional
  12.                 conditions:
  13.                   - condition: state
  14.                     entity: device_tracker.itag_bermuda_tracker
  15.                     state: home
  16.                 chip:
  17.                   type: entity
  18.                   entity: device_tracker.itag_bermuda_tracker
  19.                   content_info: none
  20.                   name: Key
  21.                   icon: mdi:car-key
  22.               - type: conditional
  23.                 conditions:
  24.                   - condition: state
  25.                     entity: binary_sensor.galaxytab_interactive
  26.                     state: 'on'
  27.                 chip:
  28.                   type: entity
  29.                   entity: automation.tablet_screen_on
  30.                   double_tap_action:
  31.                     action: none
  32.                   content_info: none
  33.                   hold_action:
  34.                     action: none
  35.                   tap_action:
  36.                     action: call-service
  37.                     service: notify.mobile_app_galaxytab
  38.                     target: {}
  39.                     data:
  40.                       message: command_launch_app
  41.                       data:
  42.                         package_name: nl.matthijsvh.screenoff
  43.                   icon: mdi:tablet-dashboard
  44.               - type: conditional
  45.                 conditions:
  46.                   - condition: state
  47.                     entity: binary_sensor.galaxytab_interactive
  48.                     state: 'off'
  49.                 chip:
  50.                   type: entity
  51.                   entity: automation.tablet_screen_on_2
  52.                   double_tap_action:
  53.                     action: none
  54.                   use_entity_picture: false
  55.                   content_info: none
  56.                   tap_action:
  57.                     action: call-service
  58.                     service: notify.mobile_app_galaxytab
  59.                     target: {}
  60.                     data:
  61.                       message: command_screen_on
  62.                       data:
  63.                         command: keep_screen_on
  64.                   hold_action:
  65.                     action: none
  66.                   icon: mdi:tablet
  67.               - type: weather
  68.                 entity: weather.home
  69.                 show_temperature: true
  70.                 show_conditions: false
  71.               - type: spacer
  72.               - type: conditional
  73.                 conditions:
  74.                   - condition: state
  75.                     entity: input_boolean.nikihomeornot
  76.                     state: 'on'
  77.                 chip:
  78.                   type: entity
  79.                   entity: person.niki
  80.                   use_entity_picture: true
  81.                   name: Niki
  82.                   content_info: none
  83.                   tap_action:
  84.                     action: more-info
  85.               - type: conditional
  86.                 conditions:
  87.                   - entity: input_boolean.neohomeornot
  88.                     state: 'on'
  89.                 chip:
  90.                   type: entity
  91.                   entity: person.nishant_kumar
  92.                   double_tap_action:
  93.                     action: none
  94.                   use_entity_picture: true
  95.                   content_info: none
  96.                   tap_action:
  97.                     action: more-info
  98.                   hold_action:
  99.                     action: none
  100.                   name: Neo
  101.             card_mod:
  102.               style: |
  103.                ha-card {
  104.                 min-height: 50px !important;
  105.                 }
  106.           - type: custom:bubble-card
  107.             card_type: separator
  108.             name: Living Room
  109.             card_layout: large
  110.             sub_button: []
  111.             icon: mdi:sofa
  112.             styles: |2-
  113.                 .bubble-line {
  114.                   background: var(--primary-text-color);
  115.                   opacity: 0.9;
  116.                 }
  117.                 .bubble-sub-button-2 {
  118.                   background-color: rgba(250,180,220,0.7);
  119.                 }
  120.                 .bubble-sub-button-1 {
  121.                   background-color: rgba(250,180,220,0.7);
  122.                 }
  123.           - type: horizontal-stack
  124.             cards:
  125.               - type: custom:bubble-card
  126.                 card_type: button
  127.                 entity: light.lamps
  128.                 tap_action:
  129.                   action: toggle
  130.                 hold_action: {}
  131.                 button_action:
  132.                   hold_action:
  133.                     action: toggle
  134.                 styles: |-
  135.                   .bubble-button-card-container {
  136.                     border-radius: 18px;
  137.                     min-height: 80px;
  138.                     }
  139.                   .bubble-button-background {
  140.                     border-radius: 18px;
  141.                   }
  142.                   ha-card {
  143.                       --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'} !important;
  144.                       opacity: 1;
  145.                       --bubble-icon-background-color: black;
  146.                       }
  147.                   .bubble-icon {
  148.                       color: white !important;
  149.                     }
  150.                 show_state: true
  151.               - type: custom:bubble-card
  152.                 card_type: button
  153.                 entity: light.dining_room
  154.                 tap_action:
  155.                   action: toggle
  156.                 button_action:
  157.                   hold_action:
  158.                     action: toggle
  159.                 styles: |-
  160.                   .bubble-button-card-container {
  161.                     border-radius: 18px;
  162.                     min-height: 80px;
  163.                     }
  164.                   .bubble-button-background {
  165.                     border-radius: 18px;
  166.                   }
  167.                     ha-card {
  168.                         --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'}  !important;
  169.                         opacity: 1;
  170.                         --bubble-icon-background-color: black;
  171.                         }
  172.                 show_state: true
  173.           - type: horizontal-stack
  174.             cards:
  175.               - type: custom:bubble-card
  176.                 card_type: button
  177.                 entity: light.living_room_bulb
  178.                 name: Living
  179.                 icon: mdi:lightbulb
  180.                 tap_action:
  181.                   action: toggle
  182.                 button_action:
  183.                   hold_action:
  184.                     action: toggle
  185.                 styles: |-
  186.                   .bubble-button-card-container {
  187.                     border-radius: 18px;
  188.                     min-height: 80px;
  189.                     }
  190.                   .bubble-button-background {
  191.                     border-radius: 18px;
  192.                   }
  193.                   ha-card {
  194.                         --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'}  !important;
  195.                         opacity: 1;
  196.                         --bubble-icon-background-color: black;
  197.                         }
  198.                 show_state: true
  199.                 card_mod:
  200.                   style: |
  201.                    ha-card {
  202.                     min-height: 100px !important;
  203.                     }
  204.               - type: custom:bubble-card
  205.                 card_type: button
  206.                 entity: light.living_room_hanging_lamps
  207.                 icon: mdi:ceiling-light-multiple
  208.                 name: 'Hanging '
  209.                 tap_action:
  210.                   action: toggle
  211.                 button_action:
  212.                   hold_action:
  213.                     action: toggle
  214.                 styles: |-
  215.                   .bubble-button-card-container {
  216.                     border-radius: 18px;
  217.                     min-height: 80px;
  218.                     }
  219.                   .bubble-button-background {
  220.                     border-radius: 18px;
  221.                   }
  222.                   ha-card {
  223.                         --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'}  !important;
  224.                         opacity: 1;
  225.                         --bubble-icon-background-color: black;
  226.                         }
  227.                 show_state: true
  228.               - type: custom:bubble-card
  229.                 card_type: button
  230.                 entity: light.living_room_terrace_lamps
  231.                 icon: mdi:coach-lamp
  232.                 name: 'Terrace '
  233.                 tap_action:
  234.                   action: toggle
  235.                 button_action:
  236.                   hold_action:
  237.                     action: toggle
  238.                 styles: |-
  239.                   .bubble-button-card-container {
  240.                     border-radius: 18px;
  241.                     min-height: 80px;
  242.                     }
  243.                   .bubble-button-background {
  244.                     border-radius: 18px;
  245.                   }
  246.                   ha-card {
  247.                         --bubble-main-background-color: ${state === "on" ? 'rgba(145,210,145,0.5)' : 'rgba(145,210,145,0.35)'}  !important;
  248.                         opacity: 1;
  249.                         --bubble-icon-background-color: black;
  250.                         }
  251.                 show_state: true
  252.           - type: custom:bubble-card
  253.             card_type: separator
  254.             name: '       Bedroom '
  255.             card_layout: large
  256.             sub_button:
  257.               - icon: mdi:water-percent-alert
  258.                 entity: sensor.bedroom_humidity
  259.                 show_state: true
  260.                 show_attribute: false
  261.                 show_background: true
  262.               - entity: sensor.bedroom_temperature
  263.                 show_state: true
  264.             icon: mdi:bed
  265.             styles: |2-
  266.                 .bubble-line {
  267.                   background: var(--primary-text-color);
  268.                   opacity: 0.9;
  269.                 }
  270.                 .bubble-sub-button-2 {
  271.                   background-color: rgba(250,180,220,0.7);
  272.                 }
  273.                 .bubble-sub-button-1 {
  274.                   background-color: rgba(250,180,220,0.7);
  275.                 }
  276.           - type: horizontal-stack
  277.             cards:
  278.               - type: custom:bubble-card
  279.                 card_type: button
  280.                 entity: light.bedroom_tubelight
  281.                 icon: mdi:lightbulb-fluorescent-tube
  282.                 name: Tube
  283.                 tap_action:
  284.                   action: toggle
  285.                 button_action:
  286.                   hold_action:
  287.                     action: toggle
  288.                 styles: |-
  289.                   .bubble-button-background {
  290.                     border-radius: 18px;
  291.                     background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  292.                   }
  293.                   .bubble-button-card-container {
  294.                     border-radius: 18px;
  295.                     min-height: 80px;
  296.                     }
  297.                   ha-card {
  298.                       --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  299.                       opacity: 1;
  300.                       --bubble-icon-background-color: black;
  301.                       }
  302.                   .bubble-icon {
  303.                       color: white !important;
  304.                     }
  305.                 button_type: switch
  306.                 show_state: true
  307.               - type: custom:bubble-card
  308.                 card_type: button
  309.                 entity: switch.bed_room_socket
  310.                 icon: mdi:power-socket-au
  311.                 name: Socket
  312.                 tap_action:
  313.                   action: toggle
  314.                 button_action:
  315.                   hold_action:
  316.                     action: toggle
  317.                   tap_action:
  318.                     action: toggle
  319.                 styles: |-
  320.                   .bubble-button-background {
  321.                     border-radius: 18px;
  322.                     background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  323.                   }
  324.                   .bubble-button-card-container {
  325.                     border-radius: 18px;
  326.                     min-height: 80px;
  327.                     }
  328.                   ha-card {
  329.                       --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  330.                       opacity: 1;
  331.                       --bubble-icon-background-color: black;
  332.                       }
  333.                   .bubble-icon {
  334.                       color: white !important;
  335.                     }
  336.                 button_type: state
  337.                 show_state: true
  338.               - type: custom:bubble-card
  339.                 card_type: button
  340.                 entity: fan.bed_room_fan_2
  341.                 button_action:
  342.                   tap_action:
  343.                     service: ''
  344.                     target: {}
  345.                   hold_action:
  346.                     action: toggle
  347.                 name: Fan
  348.                 tap_action:
  349.                   action: toggle
  350.                 styles: |-
  351.                   .bubble-button-background {
  352.                     border-radius: 18px;
  353.                     background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  354.                   }
  355.                   .bubble-button-card-container {
  356.                     border-radius: 18px;
  357.                     min-height: 80px;
  358.                     }
  359.                   ha-card {
  360.                       --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  361.                       opacity: 1;
  362.                       --bubble-icon-background-color: black;
  363.                       }
  364.                   .bubble-icon {
  365.                       color: white !important;
  366.                     }
  367.                 show_state: true
  368.           - type: horizontal-stack
  369.             cards:
  370.               - type: custom:bubble-card
  371.                 card_type: button
  372.                 entity: light.lamp
  373.                 icon: mdi:home-lightbulb-outline
  374.                 name: Bulb
  375.                 button_action:
  376.                   hold_action:
  377.                     action: toggle
  378.                 tap_action:
  379.                   action: toggle
  380.                 styles: |-
  381.                   .bubble-button-background {
  382.                     border-radius: 18px;
  383.                     background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  384.                   }
  385.                   .bubble-button-card-container {
  386.                     border-radius: 18px;
  387.                     min-height: 80px;
  388.                     }
  389.                   ha-card {
  390.                       --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  391.                       opacity: 1;
  392.                       --bubble-icon-background-color: black;
  393.                       }
  394.                   .bubble-icon {
  395.                       color: white !important;
  396.                     }
  397.                 show_state: true
  398.                 card_mod:
  399.                   style: |
  400.                    ha-card {
  401.                     min-height: 100px !important;
  402.                     }
  403.               - type: custom:bubble-card
  404.                 card_type: button
  405.                 entity: light.bedroom_bathroom
  406.                 button_action:
  407.                   tap_action:
  408.                     action: toggle
  409.                     service: ''
  410.                     target:
  411.                       entity_id: script.fan_speed
  412.                   hold_action:
  413.                     action: toggle
  414.                 name: 'Bathroom '
  415.                 icon: mdi:bathtub
  416.                 tap_action:
  417.                   action: toggle
  418.                 styles: |-
  419.                   .bubble-button-background {
  420.                     border-radius: 18px;
  421.                     background: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  422.                   }
  423.                   .bubble-button-card-container {
  424.                     border-radius: 18px;
  425.                     min-height: 80px;
  426.                     }
  427.                   ha-card {
  428.                       --bubble-main-background-color: ${state === "on" ? 'rgba(250,180,200,0.7)' : 'rgba(250,180,200,0.2)'} !important;
  429.                       opacity: 1;
  430.                       --bubble-icon-background-color: black;
  431.                       }
  432.                   .bubble-icon {
  433.                       color: white !important;
  434.                     }
  435.                 show_state: true
  436.         column_span: 1
  437.       - type: grid
  438.         cards:
  439.           - type: custom:bubble-card
  440.             card_type: separator
  441.             name: '       Media '
  442.             card_layout: large
  443.             styles: |2-
  444.                 .bubble-line {
  445.                   background: var(--primary-text-color);
  446.                   opacity: 0.9;
  447.                 }
  448.             icon: mdi:music
  449.           - type: custom:bubble-card
  450.             card_type: media-player
  451.             entity: media_player.speakers
  452.             show_attribute: true
  453.             attribute: icon
  454.             name: Speakers
  455.             show_name: true
  456.             icon: mdi:speaker-multiple
  457.             styles: |-
  458.               .bubble-button-card-container {
  459.                 border-radius: 18px;
  460.                 min-height: 80px;
  461.                 }
  462.               ha-card {
  463.                   --bubble-main-background-color: rgba(200,230,240,0.4) !important;
  464.                   opacity: 1;
  465.                   --bubble-icon-background-color: black;
  466.                   }
  467.               .bubble-icon {
  468.                   color: white !important;
  469.                 }
  470.           - type: custom:bubble-card
  471.             card_type: media-player
  472.             entity: media_player.flipkarttv
  473.             show_attribute: true
  474.             attribute: icon
  475.             name: TV
  476.             show_name: true
  477.             icon: mdi:speaker-multiple
  478.             card_mod:
  479.               style: |
  480.                ha-card {
  481.                 min-height: 100px !important;
  482.                 }
  483.             styles: |-
  484.               ha-card {
  485.                   --bubble-main-background-color: rgba(200,230,240,0.4) !important;
  486.                   opacity: 1;
  487.                   --bubble-icon-background-color: black;
  488.                   }
  489.               .bubble-icon {
  490.                   color: white !important;
  491.                 }
  492.           - type: custom:bubble-card
  493.             card_type: separator
  494.             name: 'Misc '
  495.             card_layout: large
  496.             styles: |2-
  497.                 .bubble-line {
  498.                   background: var(--primary-text-color);
  499.                   opacity: 0.9;
  500.                 }
  501.             icon: mdi:hammer-screwdriver
  502.           - type: horizontal-stack
  503.             cards:
  504.               - type: custom:bubble-card
  505.                 card_type: button
  506.                 entity: lock.door_lock
  507.                 show_attribute: false
  508.                 show_state: true
  509.                 name: Lock
  510.                 styles: |-
  511.                   .bubble-button-background {
  512.                     border-radius: 18px;
  513.                     background: ${state === "locked" ? 'rgba(190,180,100,0.9)' : 'red'} !important;
  514.                   }
  515.                   .bubble-button-card-container {
  516.                     border-radius: 18px;
  517.                     min-height: 80px;
  518.                     }
  519.                   ha-card {
  520.                         bubble-main-background-color: ${state === "locked" ? 'rgba(190,180,100,0.9)' : 'red'}  !important;
  521.                        
  522.                         }
  523.                 tap_action:
  524.                   action: toggle
  525.                 button_action:
  526.                   hold_action:
  527.                     action: toggle
  528.                   tap_action:
  529.                     action: toggle
  530.                 button_type: state
  531.               - type: custom:bubble-card
  532.                 card_type: button
  533.                 entity: auto
Advertisement
Add Comment
Please, Sign In to add comment