{
  "version": 1,
  "minor_version": 1,
  "key": "lovelace",
  "data": {
    "config": {
      "button_card_templates": {
        "gauge_card": {
          "show_icon": true,
          "show_name": true,
          "show_state": true,
          "layout": "vertical",
          "styles": {
            "card": [
              {
                "border-radius": "16px"
              },
              {
                "padding": "1em"
              },
              {
                "font-size": "1.1em"
              },
              {
                "text-align": "center"
              }
            ]
          }
        }
      },
      "apexcharts_card_templates": {
        "crypto_chart": {
          "graph_span": "7d",
          "layout": "minimal",
          "header": {
            "show": true,
            "show_states": true,
            "colorize_states": true
          },
          "all_series_config": {
            "stroke_width": 6,
            "opacity": 0.25,
            "type": "area"
          }
        },
        "pmg_stats": {
          "graph_span": "24h",
          "layout": "minimal",
          "header": {
            "show": true,
            "show_states": true,
            "colorize_states": true
          },
          "all_series_config": {
            "stroke_width": 12,
            "opacity": 0.33,
            "type": "area"
          }
        }
      },
      "views": [
        {
          "type": "sections",
          "max_columns": 3,
          "path": "info",
          "icon": "mdi:information",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#kitchen-timer",
                      "button_type": "name",
                      "show_name": true,
                      "show_icon": true,
                      "sub_button": [
                        {
                          "icon": "mdi:timer-plus",
                          "name": "Start",
                          "show_name": true,
                          "tap_action": {
                            "perform_action": "script.timer",
                            "action": "call-service",
                            "target": {},
                            "service": "script.timer"
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "idle"
                            }
                          ],
                          "entity": "script.timer"
                        },
                        {
                          "icon": "mdi:timer-pause",
                          "entity": "timer.kitchen_timer",
                          "name": "Pause",
                          "show_name": true,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.pause",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "active"
                            }
                          ]
                        },
                        {
                          "icon": "mdi:timer-play",
                          "name": "Resume",
                          "entity": "timer.kitchen_timer",
                          "show_name": true,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.start",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "paused"
                            }
                          ]
                        },
                        {
                          "name": "Cancel",
                          "show_name": true,
                          "icon": "mdi:close",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.cancel",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "or",
                              "conditions": [
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "active"
                                },
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "paused"
                                }
                              ]
                            }
                          ],
                          "entity": "timer.kitchen_timer"
                        }
                      ],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Kitchen Timer",
                      "margin_top_mobile": "17vh",
                      "show_header": true,
                      "margin_top_desktop": "15vh",
                      "icon": "mdi:timer",
                      "bg_color": "var(--secondary-background-color)",
                      "entity": "timer.kitchen_timer",
                      "styles": ".bubble-background: {\n  background-color: var(--secondary-background-color) !important;\n  opacity: 1;\n}\n.bubble-sub-button {\n  \n  width: 90px !important;\n  font-size: inherit !important;\n\n}      \n.bubble-sub-button-icon {\n  \n\n  --mdc-icon-size: 20px !important;\n}         \n.bubble-sub-button-4 {\n  \n  background: rgb(170,0,0) !important;\n}\n.bubble-sub-button-1 {\n  \n  background: teal !important;\n}\n.bubble-sub-button-2 {\n  \n  background: var(--deep-orange-color) !important;\n}\n.bubble-sub-button-3 {\n  \n  background: teal !important;\n}      "
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:timer-bar-card",
                          "compressed": true,
                          "bar_background": "#25262d",
                          "bar_height": "18px",
                          "bar_radius": "18px",
                          "layout": "hide_name",
                          "filter": true,
                          "entities": [
                            "timer.kitchen_timer"
                          ],
                          "modifications": [
                            {
                              "elapsed": "40%",
                              "bar_foreground": "yellow"
                            },
                            {
                              "elapsed": "60%",
                              "bar_foreground": "linear-gradient(to left, orange, yellow)",
                              "active_icon": "mdi:fire"
                            },
                            {
                              "elapsed": "80%",
                              "bar_foreground": "linear-gradient(to left, red, orange, yellow)",
                              "active_icon": "mdi:fire-alert"
                            }
                          ]
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "auto",
                        "grid-template-rows": "auto",
                        "margin": "-10px -10px -10px -10px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "state",
                      "entity": "timer.kitchen_timer",
                      "state_not": "idle"
                    }
                  ],
                  "state_color": true
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Lights",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;       \n} .bubble-icon {\n  #--mdc-icon-size: 32px    \n}",
                      "show_name": true,
                      "icon": "mdi:lightbulb-variant-outline"
                    },
                    {
                      "type": "custom:bubble-card",
                      "icon": "mdi:hoop-house",
                      "card_type": "button",
                      "button_type": "slider",
                      "styles": ".bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(1.15) !important;\n\n  background-color: ${state==='off' ? 'var(--secondary-background-color)' : 'rgb(6, 154, 136)'} !important;\n  opacity: 1.75 !important;\n}\n.bubble-icon { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  \n  color: ${state==='off' ? 'var(--secondary-background-color)' : 'rgb(6, 154, 136)'} !important;\n  #background-color: ${state==='off' ? 'var(--secondary-background-color)' : hass.states['sensor.wled_estimated_current'].state >= 10080  ? '#c27d00' : hass.states['sensor.wled_estimated_current'].state >= 13440 ? '#a40000' : 'rgb(56, 14, 136)'} !important;\n  filter: brightness(1.35) !important;\n  opacity: 1.75 !important;  \n  }\n      .bubble-name {\n       font-size: large !important;\n       font-style: bold !important;\n       color: var(--white-color) !important;\n       opacity: 1 !important;       \n        }  ",
                      "show_attribute": true,
                      "name": "Fuchsbau",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "card_layout": "large",
                      "entity": "light.fuchsbau_lights",
                      "show_state": true,
                      "show_icon": true,
                      "use_accent_color": false,
                      "attribute": "brightness",
                      "sub_button": [
                        {
                          "entity": "light.group_lucy",
                          "hold_action": {
                            "action": "navigate",
                            "navigation_path": "/lovelace/lucys"
                          }
                        },
                        {
                          "entity": "light.games_room_group",
                          "hold_action": {
                            "action": "navigate",
                            "navigation_path": "/lovelace/Cuddle-cave"
                          },
                          "show_name": false
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "button_type": "slider",
                      "entity": "light.floor_lights",
                      "show_attribute": true,
                      "name": "Floor",
                      "tap_action": {
                        "action": "toggle",
                        "service": "light.toggle",
                        "target": {
                          "entity_id": "light.floor_lights"
                        }
                      },
                      "card_layout": "large",
                      "sub_button": [
                        {
                          "show_background": true,
                          "icon": "mdi:lightbulb-off-outline",
                          "name": "Off",
                          "show_name": false,
                          "state_background": true,
                          "show_state": false,
                          "show_arrow": false,
                          "show_last_changed": false,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "input_select.select_option",
                            "target": {
                              "entity_id": "input_select.floor_light_mode"
                            },
                            "data": {
                              "option": "Off"
                            }
                          }
                        },
                        {
                          "icon": "mdi:lightbulb-auto",
                          "show_name": false,
                          "name": "Auto",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "input_select.select_option",
                            "target": {
                              "entity_id": "input_select.floor_light_mode"
                            },
                            "data": {
                              "option": "Auto"
                            }
                          }
                        },
                        {
                          "name": "On",
                          "show_name": false,
                          "light_background": false,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "input_select.select_option",
                            "target": {
                              "entity_id": "input_select.floor_light_mode"
                            },
                            "data": {
                              "option": "On"
                            }
                          },
                          "icon": "mdi:lightbulb-on"
                        }
                      ],
                      "styles": "\n.bubble-sub-button-1 {\n font-size: 12px ! important;\n background-color: ${hass.states['input_select.floor_light_mode'].state === 'Off' ? 'var(--primary-color)' :'var(--secondary-background-color)' };\n opacity: 1 !important;\n}\n.bubble-sub-button-2 {\n font-size: 12px ! important;\n background-color: ${hass.states['input_select.floor_light_mode'].state === 'Auto' ? 'var(--primary-color)' :'var(--secondary-background-color)' };\n opacity: 1 !important;\n}\n.bubble-sub-button-3 {\n font-size: 12px ! important;\n background-color: ${hass.states['input_select.floor_light_mode'].state === 'On' ? 'var(--primary-color)' :'var(--secondary-background-color)' };\n opacity: 1 !important;\n}\n.bubble-icon-container {\n background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n opacity: 1 !important;\n \n}   \n  \n  \n\n.bubble-name {\n font-size: large !important;\n font-style: bold !important;\n color: var(--white-color) !important;\n opacity: 1 !important;       \n} .bubble-sub-button-icon {\n --mdc-icon-size: 20px !important;\n \n}\n\n  \n.bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n  opacity: 1 !important;\n}   \n   ${icon.setAttribute(\"icon\", state==='on' ? 'mdi:ceiling-light-multiple' : 'mdi:ceiling-light-multiple-outline' )}; ${hass.states['light.floor_lights'].state === 'on' \n    ? card.querySelector('.bubble-state').innerText = \"On • \" + Math.round(hass.states['light.floor_lights'].attributes.brightness / 255 * 100) + \"% • \"+Math.round(1000000/hass.states['light.floor_lights'].attributes.color_temp) + \" K\"\n    : card.querySelector('.bubble-state').innerText = 'Off'};\n",
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "icon": "mdi:ceiling-light-multiple",
                      "show_state": false,
                      "attribute": "brightness"
                    },
                    {
                      "icon": "mdi:toilet",
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "button_type": "slider",
                      "entity": "light.bathroom_group",
                      "show_attribute": true,
                      "attribute": "brightness",
                      "name": "Bathroom",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "card_layout": "large",
                      "show_icon": true,
                      "styles": ".bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n}  \n.bubble-name {\n font-size: large !important;\n font-style: bold !important;\n color: var(--white-color) !important;\n opacity: 1 !important;       \n  }  ",
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "show_state": true,
                      "use_accent_color": false,
                      "slider_live_update": false,
                      "show_last_changed": false,
                      "hold_action": {
                        "action": "more-info"
                      }
                    },
                    {
                      "type": "custom:layout-card",
                      "head": "light.fuchsbau_lights",
                      "entities": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.group_lucy",
                          "show_attribute": true,
                          "name": "Lucy's Room",
                          "tap_action": {
                            "action": "toggle",
                            "service": "light.toggle",
                            "target": {
                              "entity_id": "light.floor_lights"
                            }
                          },
                          "card_layout": "large",
                          "sub_button": [],
                          "styles": "\n.bubble-sub-button-1 {\n font-size: 12px ! important;\n background-color: ${hass.states['switch.floor_motion_activation'].state === 'on' ? 'var(--teal-color)' :'var(--secondary-background-color)' };\n opacity: 1 !important;\n}\n.bubble-sub-button-2 {\n font-size: 12px !important;\n background-color: ${hass.states['switch.floor_timer'].state === 'on' ? 'var(--teal-color)' :'var(--secondary-background-color)' };\n opacity: 1 !important;\n}      \n.bubble-icon-container {\n background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n opacity: 1 !important;\n \n}   \n  \n.bubble-name {\n font-size: large !important;\n font-style: bold !important;\n color: var(--white-color) !important;\n opacity: 1 !important;       \n\n    \n} .bubble-sub-button-icon {\n --mdc-icon-size: 20px !important;\n \n}\n\n} .bubble-button {\n --mdc-icon-size: 30px !important;\n \n}  \n.bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n  opacity: 1 !important;\n}   \n",
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "icon": "mdi:alpha-l-circle",
                          "show_state": true,
                          "attribute": "brightness"
                        },
                        {
                          "icon": "mdi:weather-night",
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.group_cave",
                          "show_attribute": true,
                          "attribute": "brightness",
                          "name": "Cuddle Cave",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "card_layout": "large",
                          "show_icon": true,
                          "styles": ".bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n}  \n.bubble-name {\n font-size: large !important;\n font-style: bold !important;\n color: var(--white-color) !important;\n opacity: 1 !important;       \n  }     ",
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "show_state": true,
                          "use_accent_color": false,
                          "slider_live_update": false,
                          "show_last_changed": false
                        }
                      ],
                      "layout_type": "custom:grid-layout",
                      "layout": {
                        "grid-template-columns": "50% 50%",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Package Tracking",
                      "icon": "mdi:package-variant-closed",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "layout": null,
                      "cards": [
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_in_transit",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_in_transit'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_in_transit'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_ready_to_be_picked_up",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_ready_to_be_picked_up'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_ready_to_be_picked_up'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_undelivered",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_undelivered'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_undelivered'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_delivered",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "{% if states.sensor['17track_delivered'].attributes.packages | length > 0 %}\n### Delivered:\n \n  \n  \n{% for package in states.sensor['17track_delivered'].attributes.packages %}\n \n**{{ package.friendly_name or 'Unknown' }}:**  **`{{ package.tracking_number }}`**  \n{{ package.info_text }}    *({{ as_timestamp(package.timestamp) | timestamp_custom('%d. %B %Y, %H:%M') }})*  \n[***`More info`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})   [***`Copy Tracking Number`***](#)  \n\n \n{%- endfor %} {% endif %}\n",
                            "tap_action": {
                              "action": "call-service",
                              "service": "input_text.set_value",
                              "service_data": {
                                "entity_id": "input_text.tracking_number",
                                "value": "{{ package.tracking_number }}"
                              }
                            }
                          }
                        }
                      ]
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    },
                    {
                      "condition": "or",
                      "conditions": [
                        {
                          "condition": "numeric_state",
                          "entity": "sensor.17track_delivered",
                          "above": 0
                        },
                        {
                          "condition": "numeric_state",
                          "entity": "sensor.17track_in_transit",
                          "above": 0
                        },
                        {
                          "condition": "numeric_state",
                          "entity": "sensor.17track_ready_to_be_picked_up",
                          "above": 0
                        },
                        {
                          "condition": "numeric_state",
                          "entity": "sensor.17track_returned",
                          "above": 0
                        }
                      ]
                    }
                  ],
                  "state_color": true
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Indoor Climate",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "icon": "mdi:home-thermometer",
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;       \n}"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "icon": "mdi:thermometer",
                          "entity": "sensor.lucy_s_room_temperature",
                          "card_layout": "large",
                          "show_state": true,
                          "show_name": true,
                          "button_type": "state",
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#indoor-temperature-graph"
                          },
                          "styles": ".bubble-icon {\n  color: ${state >= 27 || state <= 10 ? 'rgba(122, 1, 44, 1.81)' : state >= 18 && state <=25 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} .bubble-button-background {\n  background-color: ${state >= 27 || state <= 10 ? 'rgba(122, 1, 44, 1.81)' : state >= 18 && state <=25 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} ${card.querySelector('.bubble-name').innerText = hass.states[entity].state + \" °C\"}; ${card.querySelector('.bubble-state').innerText = 'Temperature'};",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#indoor-temperature-graph"
                            }
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "icon": "mdi:water",
                          "entity": "sensor.lucy_env_unit_humidity_sht40",
                          "card_layout": "large",
                          "show_state": true,
                          "show_name": true,
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#indoor-humidity-graph"
                            }
                          },
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#indoor-humidity-graph"
                          },
                          "styles": ".bubble-icon {\n  color: ${state >= 80 || state <= 30 ? 'rgba(122, 1, 44, 1.81)' : state >= 40 && state <=60 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} .bubble-button-background {\n  background-color: ${state >= 80 || state <= 30 ? 'rgba(122, 1, 44, 1.81)' : state >= 40 && state <=60 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} ${card.querySelector('.bubble-name').innerText = hass.states[entity].state + \" %\"}; ${card.querySelector('.bubble-state').innerText = 'Humidity'};"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "icon": "mdi:gauge",
                          "entity": "sensor.lucy_env_unit_pressure_bmp280",
                          "card_layout": "large",
                          "show_state": true,
                          "show_name": true,
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#indoor-pressure-graph"
                            }
                          },
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#indoor-pressure-graph"
                          },
                          "styles": ".bubble-icon {\n  color: ${state >= 1025 || state <= 990 ? 'rgba(198, 118, 12, 1.81)' : state >= 995 && state <=1015 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} .bubble-button-background {\n  background-color: ${state >= 1025 || state <= 990 ? 'rgba(198, 118, 12, 1.81)' : state >= 995 && state <=1015 ? 'teal' : 'orange'} !important;\n  opacity: 0.85 !important;\n} ${card.querySelector('.bubble-name').innerText = Math.round(hass.states[entity].state) + \" hPa\"}; ${card.querySelector('.bubble-state').innerText = 'Pressure'};"
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "margin": "10px 0px -8px 0px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Outdoor Climate",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [
                        {
                          "icon": "mdi:weather-rainy",
                          "name": "Rain Radar",
                          "show_name": true,
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#rainradar"
                          }
                        }
                      ],
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;\n}\n.bubble-sub-button {\n  font-size: 15px !important;\n  font-style: bold !important;\n  background:  var(--blue-color);\n  width: 135px\n}\n.bubble-sub-button-icon {\n  --mdc-icon-size: 22px !important;\n}\n",
                      "show_name": true,
                      "icon": "mdi:weather-partly-cloudy"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "name": "Temperatur",
                          "icon": "mdi:thermometer",
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#outdoor-temperature-graph"
                          },
                          "styles": ".bubble-button-background {\n  background-color: ${hass.states[entity].attributes.temperature >= 30 ? '#b91c1c' :\n                     hass.states[entity].attributes.temperature >= 27 ? '#ff900fcf' :\n                     hass.states[entity].attributes.temperature >= 24 ? '#eeee0fff' :\n                     hass.states[entity].attributes.temperature >= 18 ? 'teal' :\n                     hass.states[entity].attributes.temperature >= 12 ? 'cyan' :'04444ffcc'} !important;\n} .bubble-icon {\n  color: ${hass.states[entity].attributes.temperature >= 30 ? '#b91c1c' :\n                     hass.states[entity].attributes.temperature >= 27 ? '#ff900fcf' :\n                     hass.states[entity].attributes.temperature >= 24 ? '#eeee0fff' :\n                     hass.states[entity].attributes.temperature >= 18 ? 'teal' :\n                     hass.states[entity].attributes.temperature >= 12 ? 'cyan' :'04444ffcc'} !important;\n}  ${card.querySelector('.bubble-name').innerText = hass.states[entity].attributes.temperature + \" °C\"}; ${card.querySelector('.bubble-state').innerText = 'Temperatur'};\n",
                          "entity": "weather.forecast_home",
                          "show_name": true,
                          "card_layout": "large",
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#outdoor-temperature-graph"
                            }
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "name": "Humidity",
                          "icon": "mdi:water",
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#outdoor-humidity-graph"
                          },
                          "styles": ".bubble-button-background {\n  background-color: ${hass.states[entity].attributes.humidity >= 75 ? '#b91c1c' :\n                     hass.states[entity].attributes.humidity >= 60 ? '#ff900fcf' :\n                     hass.states[entity].attributes.humidity >= 40 ? 'teal' :\n                     hass.states[entity].attributes.humidity >= 30 ? '#ff900fcf' : '#b91c1c'} !important;\n} .bubble-icon {\n  color: ${hass.states[entity].attributes.humidity >= 75 ? '#b91c1c' :\n                     hass.states[entity].attributes.humidity >= 60 ? '#ff900fcf' :\n                     hass.states[entity].attributes.humidity >= 40 ? 'teal' :\n                     hass.states[entity].attributes.humidity >= 30 ? '#ff900fcf' : '#b91c1c'} !important;\n}  ${card.querySelector('.bubble-name').innerText = hass.states[entity].attributes.humidity + \" %\"}; ${card.querySelector('.bubble-state').innerText = 'Humidity'};\n",
                          "entity": "weather.forecast_home",
                          "show_name": true,
                          "card_layout": "large",
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#outdoor-humidity-graph"
                            }
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "name": "Pressure",
                          "icon": "mdi:arrow-collapse-vertical",
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#outdoor-pressure-graph"
                          },
                          "styles": ".bubble-button-background {\n  background-color: ${hass.states[entity].attributes.pressure >= 1030 ? '#b91c1c' :\n                     hass.states[entity].attributes.pressure >= 1020 ? '#fb923c' :\n                     hass.states[entity].attributes.pressure >= 1005 ? 'teal' :\n                     hass.states[entity].attributes.pressure >= 990 ? '#1e40af' : '#1e3a8a'} !important;\n} ${card.querySelector('.bubble-name').innerText = Math.round(hass.states[entity].attributes.pressure) + \" hPa\"}; ${card.querySelector('.bubble-state').innerText = 'Pressure'};\n",
                          "entity": "weather.forecast_home",
                          "show_name": true,
                          "card_layout": "large",
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#outdoor-pressure-graph"
                            }
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "name": "Wind",
                          "icon": "mdi:weather-windy",
                          "styles": ".bubble-button-background {\n  background-color: ${hass.states[entity].attributes.wind_speed >= 50 ? '#7f1d1d' :\n                     hass.states[entity].attributes.wind_speed >= 30 ? '#dc2626' :\n                     hass.states[entity].attributes.wind_speed >= 20 ? '#fb923c' :\n                     hass.states[entity].attributes.wind_speed >= 10 ? 'teal' : '#1e3a8a'} !important;\n}\n${card.querySelector('.bubble-name').innerText = hass.states[entity].attributes.wind_speed + \" km/h\"}; ${card.querySelector('.bubble-state').innerText = 'Wind'};\n",
                          "entity": "weather.forecast_home",
                          "show_name": true,
                          "card_layout": "large",
                          "button_type": "state",
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#outdoor-wind-graph"
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#outdoor-wind-graph"
                            }
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "name": "UV Index",
                          "icon": "mdi:weather-sunny-alert",
                          "styles": ".bubble-button-background {\n  background-color: ${hass.states[entity].attributes.uv_index >= 11 ? '#7f1d1d' :\n                     hass.states[entity].attributes.uv_index >= 8 ? '#dc2626' :\n                     hass.states[entity].attributes.uv_index >= 6 ? '#fb923c' :\n                     hass.states[entity].attributes.uv_index >= 3 ? 'teal' : '#1e3a8a'} !important;\n}\n${card.querySelector('.bubble-name').innerText = hass.states[entity].attributes.uv_index + \" UV\"}; ${card.querySelector('.bubble-state').innerText = 'UV Index'};\n",
                          "entity": "weather.forecast_home",
                          "show_name": true,
                          "card_layout": "large",
                          "button_type": "state",
                          "button_action": {
                            "tap_action": {
                              "action": "navigate",
                              "navigation_path": "#outdoor-uv-graph"
                            }
                          },
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "#outdoor-uv-graph"
                          }
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33% 33% 33%",
                        "grid-template-rows": "auto auto",
                        "margin": "0px 0px -8px 0px",
                        "padding": "0 0 0 0"
                      }
                    },
                    {
                      "type": "custom:apexcharts-card",
                      "experimental": {
                        "color_threshold": true
                      },
                      "header": {
                        "show": true,
                        "floating": false,
                        "title": "Forecast: 24h",
                        "show_states": false,
                        "colorize_states": true
                      },
                      "apex_config": {
                        "chart": {
                          "height": "100px"
                        },
                        "yaxis": {
                          "show": false
                        }
                      },
                      "graph_span": "1d",
                      "span": {
                        "start": "hour"
                      },
                      "series": [
                        {
                          "entity": "sensor.forecast_hourly",
                          "show": {
                            "extremas": true
                          },
                          "data_generator": "return entity.attributes.timestamp.map((timestamp, index) => {\n  return [new Date(timestamp).getTime(), entity.attributes.temperature[index]];\n})\n",
                          "unit": "°C",
                          "stroke_width": 5,
                          "color_threshold": [
                            {
                              "value": 30,
                              "color": "red"
                            },
                            {
                              "value": 27,
                              "color": "orange"
                            },
                            {
                              "value": 24,
                              "color": "yellow"
                            },
                            {
                              "value": 18,
                              "color": "teal"
                            },
                            {
                              "value": 12,
                              "color": "cyan"
                            },
                            {
                              "value": -10,
                              "color": "blue"
                            }
                          ]
                        }
                      ]
                    },
                    {
                      "type": "custom:apexcharts-card",
                      "experimental": {
                        "color_threshold": true
                      },
                      "header": {
                        "show": true,
                        "floating": false,
                        "title": "Forecast: 72h",
                        "show_states": false,
                        "colorize_states": true
                      },
                      "apex_config": {
                        "chart": {
                          "height": "100px"
                        },
                        "yaxis": {
                          "show": false
                        }
                      },
                      "graph_span": "4d",
                      "span": {
                        "start": "day"
                      },
                      "series": [
                        {
                          "entity": "sensor.forecast_daily",
                          "show": {
                            "extremas": true
                          },
                          "data_generator": "return entity.attributes.timestamp.map((timestamp, index) => {\n  return [new Date(timestamp).getTime(), entity.attributes.temperature[index]];\n})\n",
                          "unit": "°C",
                          "stroke_width": 5,
                          "color_threshold": [
                            {
                              "value": 30,
                              "color": "red"
                            },
                            {
                              "value": 27,
                              "color": "orange"
                            },
                            {
                              "value": 24,
                              "color": "yellow"
                            },
                            {
                              "value": 18,
                              "color": "teal"
                            },
                            {
                              "value": 12,
                              "color": "cyan"
                            },
                            {
                              "value": -10,
                              "color": "blue"
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--pink-color) !important;\n    opacity: 0.85 !important;\n    border-style: hidden !important;\n    border-color: var(--primary-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--primary-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3",
                        "cb71643a273740a7ac63a971c62bf646"
                      ]
                    }
                  ],
                  "4_icon": "mdi:cart",
                  "4_link": "lists",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus",
                  "6_link": "/lovelace/Pokestats",
                  "6_icon": "mdi:pokeball"
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#indoor-temperature-graph",
                      "name": "Temperaturverlauf",
                      "icon": "mdi:thermometer",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1,
                      "button_type": "name"
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 24h",
                      "icon": "mdi:thermometer",
                      "entities": [
                        {
                          "entity": "sensor.lucy_s_room_temperature",
                          "name": "Temperatur"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 7 Tage",
                      "icon": "mdi:thermometer",
                      "entities": [
                        {
                          "entity": "sensor.lucy_s_room_temperature",
                          "name": "Temperatur"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 30 Tage",
                      "icon": "mdi:thermometer",
                      "entities": [
                        {
                          "entity": "sensor.lucy_s_room_temperature",
                          "name": "Temperatur"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#indoor-humidity-graph",
                      "name": "Luftfeuchtigkeit",
                      "icon": "mdi:water-percent",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 24h",
                      "icon": "mdi:water-percent",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_humidity_sht40",
                          "name": "Luftfeuchtigkeit"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 7 Tage",
                      "icon": "mdi:water-percent",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_humidity_sht40"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 30 Tage",
                      "icon": "mdi:water-percent",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_humidity_sht40"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#indoor-pressure-graph",
                      "name": "Luftdruck",
                      "icon": "mdi:arrow-collapse-vertical",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 24h",
                      "icon": "mdi:arrow-collapse-vertical",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_pressure_bmp280",
                          "name": "Luftdruck"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 7 Tage",
                      "icon": "mdi:arrow-collapse-vertical",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_pressure_bmp280"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 30 Tage",
                      "icon": "mdi:arrow-collapse-vertical",
                      "entities": [
                        {
                          "entity": "sensor.lucy_env_unit_pressure_bmp280"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 5,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": true,
                        "labels": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#outdoor-temperature-graph",
                      "name": "Außentemperatur",
                      "icon": "mdi:thermometer",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 24h",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "temperature",
                          "name": "Temperatur",
                          "unit": "°C"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 7 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "temperature",
                          "unit": "°C"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Temperatur – letzte 30 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "temperature",
                          "unit": "°C"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 14,
                          "color": "#1e40af"
                        },
                        {
                          "value": 18,
                          "color": "teal"
                        },
                        {
                          "value": 26,
                          "color": "#fb923c"
                        },
                        {
                          "value": 30,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#outdoor-humidity-graph",
                      "name": "Außenfeuchte",
                      "icon": "mdi:water",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 24h",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "humidity",
                          "unit": "%",
                          "name": "Luftfeuchtigkeit"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 7 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "humidity",
                          "unit": "%"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftfeuchte – letzte 30 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "humidity",
                          "unit": "%"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 20,
                          "color": "#b91c1c"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 40,
                          "color": "teal"
                        },
                        {
                          "value": 60,
                          "color": "#1e40af"
                        },
                        {
                          "value": 75,
                          "color": "#1e3a8a"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#outdoor-pressure-graph",
                      "name": "Außendruck",
                      "icon": "mdi:arrow-collapse-vertical",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 24h",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "pressure",
                          "name": "Luftdruck",
                          "unit": "hPa"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 7 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "pressure",
                          "unit": "hPa"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Luftdruck – letzte 30 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "pressure",
                          "unit": "hPa"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 980,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 990,
                          "color": "#1e40af"
                        },
                        {
                          "value": 1005,
                          "color": "teal"
                        },
                        {
                          "value": 1020,
                          "color": "#fb923c"
                        },
                        {
                          "value": 1030,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#outdoor-wind-graph",
                      "name": "Windgeschwindigkeit",
                      "icon": "mdi:weather-windy",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Wind – letzte 24h",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "wind_speed",
                          "name": "Wind",
                          "unit": "km/h"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 10,
                          "color": "#1e40af"
                        },
                        {
                          "value": 20,
                          "color": "teal"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 50,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Wind – letzte 7 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "wind_speed",
                          "unit": "km/h"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 10,
                          "color": "#1e40af"
                        },
                        {
                          "value": 20,
                          "color": "teal"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 50,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "Wind – letzte 30 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "wind_speed",
                          "unit": "km/h"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 10,
                          "color": "#1e40af"
                        },
                        {
                          "value": 20,
                          "color": "teal"
                        },
                        {
                          "value": 30,
                          "color": "#fb923c"
                        },
                        {
                          "value": 50,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#outdoor-uv-graph",
                      "name": "UV Index",
                      "icon": "mdi:weather-sunny-alert",
                      "card_layout": "large",
                      "show_icon": true,
                      "show_state": false,
                      "show_header": true,
                      "margin_top_mobile": "50vh",
                      "rows": 3,
                      "columns": 1
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "UV Index – letzte 24h",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "uv_index",
                          "name": "UV"
                        }
                      ],
                      "hours_to_show": 24,
                      "points_per_hour": 1,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": true,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 2,
                          "color": "#1e40af"
                        },
                        {
                          "value": 3,
                          "color": "teal"
                        },
                        {
                          "value": 5,
                          "color": "#fb923c"
                        },
                        {
                          "value": 7,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "UV Index – letzte 7 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "uv_index"
                        }
                      ],
                      "hours_to_show": 168,
                      "points_per_hour": 0.5,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": true,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 2,
                          "color": "#1e40af"
                        },
                        {
                          "value": 3,
                          "color": "teal"
                        },
                        {
                          "value": 5,
                          "color": "#fb923c"
                        },
                        {
                          "value": 7,
                          "color": "#b91c1c"
                        }
                      ]
                    },
                    {
                      "type": "custom:mini-graph-card",
                      "name": "UV Index – letzte 30 Tage",
                      "entities": [
                        {
                          "entity": "weather.forecast_home",
                          "attribute": "uv_index"
                        }
                      ],
                      "hours_to_show": 720,
                      "points_per_hour": 0.2,
                      "line_width": 4,
                      "show": {
                        "graph": "line",
                        "extrema": false,
                        "fill": false,
                        "icon": false,
                        "labels": true,
                        "legend": true
                      },
                      "color_thresholds": [
                        {
                          "value": 0,
                          "color": "#1e3a8a"
                        },
                        {
                          "value": 2,
                          "color": "#1e40af"
                        },
                        {
                          "value": 3,
                          "color": "teal"
                        },
                        {
                          "value": 5,
                          "color": "#fb923c"
                        },
                        {
                          "value": 7,
                          "color": "#b91c1c"
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Calendar",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [
                        {
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "persistent_notification.dismiss_all"
                          },
                          "icon": "mdi:delete-forever",
                          "show_background": true,
                          "state_background": true
                        }
                      ],
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;       \n} .bubble-icon {\n  #--mdc-icon-size: 32px    \n}\n.bubble-sub-button {\n  background:  var(--deep-orange-color)\n}\n.bubble-button-card-container {\n\n}\n.bubble-button-card {\n  background-color: none;\n}    \n.bubble-sub-button {\n#  height: 42px !important;\n#  width: 42px !important;\n}\n.bubble-sub-button-icon {\n # --mdc-icon-size: inherit !important;\n # color: rgba(196, 197, 194, 1.84) !important;\n}      ",
                      "show_name": true,
                      "icon": "mdi:calendar"
                    },
                    {
                      "type": "custom:home-feed-card",
                      "title": false,
                      "more_info_on_tap": true,
                      "show_empty": false,
                      "show_notification_title": false,
                      "compact_mode": true,
                      "max_height": "10em",
                      "max_items": 5,
                      "show_notification_icon": false,
                      "id_filter": "^..*",
                      "calendar_days_forward": 7,
                      "calendar_days_back": 0,
                      "calendars": [
                        "calendar.foxxy_calendar"
                      ]
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ],
                  "state_color": true
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Media Player",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-sub-button {\n   #background-color: rgba(206, 108, 15, 1); \n   #height: 29px;\n   \n   #font-size: 16px !important;\n   #font-style: bold !important;\n}                  \n.bubble-sub-button-icon { \n  --mdc-icon-size: 24px !important;\n}\n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n}                   \n.bubble-icon {\n  #font-size: large !important;\n  #font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;    \n  #--mdc-icon-size: 28px\n}\n",
                      "show_name": true,
                      "icon": "mdi:multimedia"
                    },
                    {
                      "type": "custom:state-switch",
                      "entity": "media_player.vlc_lucy_s_room_2",
                      "default": "idle",
                      "states": {
                        "idle": {
                          "entity": "media_player.vlc_lucy_s_room_2",
                          "type": "custom:mini-media-player",
                          "icon": "mdi:vlc",
                          "artwork": "material",
                          "info": "scroll",
                          "background": "https://static.vecteezy.com/system/resources/thumbnails/002/221/733/original/abstract-flowing-light-ombre-gradient-background",
                          "scale": 1,
                          "idle_view": {
                            "when_idle": true,
                            "when_paused": true,
                            "when_standby": true,
                            "after": 30
                          },
                          "hide": {
                            "power": true,
                            "next": true,
                            "prev": true,
                            "runtime": true,
                            "icon_state": false,
                            "power_state": false
                          },
                          "shortcuts": {
                            "columns": 3,
                            "column_height": 32,
                            "buttons": [
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960ea1eb-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_lucy_s_room_2"
                                },
                                "cover": "https://www.phonostar.de/images/auto_created/hardbasefm2184x184.png"
                              },
                              {
                                "type": "service"
                              }
                            ]
                          }
                        }
                      }
                    },
                    {
                      "type": "custom:state-switch",
                      "entity": "media_player.vlc_foxxbook_2",
                      "default": "idle",
                      "states": {
                        "idle": {
                          "entity": "media_player.vlc_foxxbook_2",
                          "type": "custom:mini-media-player",
                          "icon": "mdi:vlc",
                          "artwork": "material",
                          "background": "https://wallpaperaccess.com/full/1756508.jpg",
                          "scale": 1,
                          "info": "scroll",
                          "idle_view": {
                            "when_idle": true,
                            "when_paused": true,
                            "when_standby": true,
                            "after": 30
                          },
                          "hide": {
                            "power": true,
                            "next": true,
                            "prev": true,
                            "runtime": true,
                            "icon_state": false,
                            "power_state": false
                          },
                          "shortcuts": {
                            "columns": 3,
                            "column_height": 32,
                            "buttons": [
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960ea1eb-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_foxxbook_2"
                                },
                                "cover": "https://www.phonostar.de/images/auto_created/hardbasefm2184x184.png"
                              },
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960e96f3-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_foxxbook_2"
                                },
                                "cover": "https://www.technobase.fm/content/images/site/logo-technobase.fm.png"
                              },
                              {
                                "type": "service",
                                "id": "script.webradio",
                                "data": {
                                  "entity_id": "media_player.vlc_foxxbook_2"
                                },
                                "icon": "mdi:radio-tower",
                                "name": "Custom"
                              }
                            ]
                          },
                          "source": "full"
                        },
                        "unavailable": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        },
                        "unknown": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        }
                      }
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "entity": "media_player.spotify_player",
                      "type": "custom:mini-media-player",
                      "icon": "mdi:spotify",
                      "name": "Spotify",
                      "artwork": "cover",
                      "background": "https://cdn.wallpapersafari.com/73/36/kjoK1u.png",
                      "source": "full",
                      "scale": 1,
                      "hide": {
                        "power": true,
                        "next": false,
                        "prev": false,
                        "icon_state": false,
                        "power_state": false,
                        "shuffle": false,
                        "repeat": false
                      },
                      "shortcuts": {
                        "name": "Playlists",
                        "columns": 4,
                        "column_height": 24,
                        "label": "Select playlist...",
                        "list": [
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/1psnCErmODnQX1sgwy4SYe?si=b8d1dfc563c049db",
                            "name": "😽 Cozy Couch Cats 🛋️"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/0KiYAIxlDkkFH9wggNLJXQ?si=11a3cde88c044211",
                            "icon": "mdi:cat"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/4mXpy8lTVGq0j47ZIArtyt?si=ee6a7a2fca35414f",
                            "icon": "mdi:star-shooting"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/6SdjgBzS7VibMbCJp92JkW?si=0ff375e8396c4e3b",
                            "icon": "mdi:rocket-launch"
                          }
                        ]
                      },
                      "sound_mode": "icon"
                    }
                  ],
                  "grid_options": {
                    "columns": "full"
                  },
                  "visibility": [
                    {
                      "condition": "state",
                      "entity": "binary_sensor.any_media_player_playing",
                      "state": "on"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Map",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "styles": ".bubble-sub-button {\n  #background: transparent;\n  background-color: var(--secondary-background-color) !important;\n  font-size: 13px !important;\n  font-style: thin !important;\n  opacity: 0.85 !important;\n}\n               \n.bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;\n  \n}\n.bubble-icon {\n  #--mdc-icon-size: 32px    \n}\n",
                      "show_name": true,
                      "icon": "mdi:map",
                      "sub_button": [
                        {
                          "entity": "sensor.home_2_faelis_skribblekitty_distance",
                          "show_state": true,
                          "icon": "mdi:account-heart",
                          "show_last_changed": false
                        },
                        {
                          "entity": "sensor.home_2_faelis_skribblekitty_direction_of_travel",
                          "icon": "mdi:location-enter",
                          "show_state": true,
                          "show_background": false,
                          "show_last_changed": true
                        }
                      ]
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "masonry",
                      "cards": [
                        {
                          "type": "map",
                          "entities": [
                            {
                              "entity": "person.faelis_skribblekitty"
                            },
                            {
                              "entity": "person.lucy_foxx"
                            }
                          ],
                          "theme_mode": "dark",
                          "aspect_ratio": "50%",
                          "default_zoom": 11,
                          "hours_to_show": 0
                        },
                        {
                          "square": false,
                          "type": "grid",
                          "cards": [
                            {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "state",
                              "entity": "sensor.faelis_nearest_zone_friendly_name",
                              "show_attribute": false,
                              "icon": "mdi:crosshairs-gps",
                              "show_state": true,
                              "show_name": true,
                              "name": "Nearest Zone",
                              "card_layout": "large"
                            },
                            {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "state",
                              "entity": "sensor.faelis_phone_geocoded_location",
                              "show_attribute": true,
                              "attribute": "source_type",
                              "icon": "mdi:cellphone",
                              "card_layout": "large",
                              "name": "Faelis' Phone",
                              "scrolling_effect": true
                            }
                          ],
                          "columns": 2
                        }
                      ]
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#rainradar",
                      "button_type": "name",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:weather-rainy",
                      "sub_button": [],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Rain Radar",
                      "margin_top_mobile": "10vh",
                      "show_header": false,
                      "margin_top_desktop": "0vh",
                      "bg_color": "var(--white-color)",
                      "styles": ".bubble-background: {\n  background-color: var(--primary-background-color) !important;\n  opacity: 0 !important;\n}",
                      "bg_opacity": "15",
                      "bg_blur": "55",
                      "backdrop_blur": "99",
                      "shadow_opacity": "99",
                      "width_desktop": "1024px",
                      "margin": "0px"
                    },
                    {
                      "type": "iframe",
                      "url": "https://www.wetteronline.de/regenradar/nordrhein-westfalen?mode=interactive&wrf=true&wrx=51.39,6.87&wrm=10.5",
                      "aspect_ratio": "95%"
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#kitchen-timer",
                      "button_type": "name",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:timer",
                      "sub_button": [
                        {
                          "icon": "mdi:timer-plus",
                          "name": "Start",
                          "show_name": true,
                          "tap_action": {
                            "perform_action": "script.timer",
                            "action": "call-service",
                            "target": {},
                            "service": "script.timer"
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "idle"
                            }
                          ],
                          "entity": "script.timer"
                        },
                        {
                          "icon": "mdi:timer-pause",
                          "entity": "timer.kitchen_timer",
                          "name": "Pause",
                          "show_name": true,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.pause",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "active"
                            }
                          ]
                        },
                        {
                          "icon": "mdi:timer-play",
                          "name": "Resume",
                          "entity": "timer.kitchen_timer",
                          "show_name": true,
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.start",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "paused"
                            }
                          ]
                        },
                        {
                          "name": "Cancel",
                          "show_name": true,
                          "icon": "mdi:close",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.cancel",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "or",
                              "conditions": [
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "active"
                                },
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "paused"
                                }
                              ]
                            }
                          ],
                          "entity": "timer.kitchen_timer"
                        }
                      ],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Timer",
                      "margin_top_mobile": "17vh",
                      "show_header": true,
                      "margin_top_desktop": "15vh",
                      "bg_color": "var(--secondary-background-color)",
                      "entity": "input_select.misc",
                      "styles": ".bubble-background: {\n  background-color: var(--secondary-background-color) !important;\n  opacity: 1;\n}\n.bubble-sub-button {\n  \n  width: 90px !important;\n  font-size: inherit !important;\n\n}      \n.bubble-sub-button-icon {\n  \n\n  --mdc-icon-size: 20px !important;\n}         \n.bubble-sub-button-4 {\n  \n  background: rgb(170,0,0) !important;\n}\n.bubble-sub-button-1 {\n  \n  background: teal !important;\n}\n.bubble-sub-button-2 {\n  \n  background: var(--deep-orange-color) !important;\n}\n.bubble-sub-button-3 {\n  \n  background: teal !important;\n}      "
                    },
                    {
                      "type": "conditional",
                      "conditions": [
                        {
                          "condition": "state",
                          "entity": "timer.kitchen_timer",
                          "state": "idle"
                        }
                      ],
                      "card": {
                        "type": "custom:layout-card",
                        "layout_type": "custom:grid-layout",
                        "layout": {
                          "grid-template-columns": "auto auto auto",
                          "grid-template-rows": "auto",
                          "margin": "-10px 0px -10px 0px",
                          "padding": "0 0 0 0"
                        },
                        "cards": [
                          {
                            "type": "custom:numberbox-card",
                            "border": false,
                            "entity": "input_number.timer_hours",
                            "unit": "h",
                            "speed": 100,
                            "icon": false,
                            "name": false,
                            "picture": false,
                            "delay": 0
                          },
                          {
                            "type": "custom:numberbox-card",
                            "border": false,
                            "entity": "input_number.timer_minutes",
                            "speed": 100,
                            "name": false,
                            "picture": false,
                            "unit": "min",
                            "icon": false,
                            "delay": 0
                          },
                          {
                            "type": "custom:numberbox-card",
                            "border": false,
                            "entity": "input_number.timer_seconds",
                            "unit": "sec",
                            "delay": 1000,
                            "name": false,
                            "picture": false,
                            "icon": false,
                            "speed": 200
                          }
                        ]
                      }
                    },
                    {
                      "type": "conditional",
                      "conditions": [
                        {
                          "condition": "state",
                          "entity": "timer.kitchen_timer",
                          "state_not": "idle"
                        }
                      ],
                      "card": {
                        "type": "custom:timer-bar-card",
                        "compressed": true,
                        "bar_background": "#25262d",
                        "bar_height": "18px",
                        "bar_radius": "18px",
                        "layout": "hide_name",
                        "filter": true,
                        "entities": [
                          "timer.kitchen_timer"
                        ],
                        "modifications": [
                          {
                            "elapsed": "40%",
                            "bar_foreground": "yellow"
                          },
                          {
                            "elapsed": "60%",
                            "bar_foreground": "linear-gradient(to left, orange, yellow)",
                            "active_icon": "mdi:fire"
                          },
                          {
                            "elapsed": "80%",
                            "bar_foreground": "linear-gradient(to left, red, orange, yellow)",
                            "active_icon": "mdi:fire-alert"
                          }
                        ]
                      }
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#add-note",
                      "button_type": "state",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:notebook-plus",
                      "sub_button": [
                        {
                          "entity": "input_select.lists",
                          "show_state": true,
                          "show_name": false,
                          "show_attribute": false
                        }
                      ],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Add Note",
                      "margin_top_mobile": "60vh",
                      "show_header": false,
                      "margin_top_desktop": "60vh",
                      "bg_color": "",
                      "styles": ".bubble-background: {\n  background-color: var(--primary-background-color) !important;\n  opacity: 0 !important;\n}",
                      "bg_opacity": "70",
                      "bg_blur": "90",
                      "backdrop_blur": "100",
                      "shadow_opacity": "100"
                    },
                    {
                      "type": "custom:layout-card",
                      "cards": [
                        {
                          "type": "custom:text-input-row",
                          "entity": "input_text.add_list_item"
                        }
                      ],
                      "layout_type": "custom:grid-layout"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "icon": "mdi:book-plus",
                          "name": "Notes",
                          "card_type": "button",
                          "button_type": "name",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}        "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:cart-plus",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "name": "Shopping",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}  "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:invoice-text-plus",
                          "name": "Tasks",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}            ",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo"
                            }
                          }
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "-10px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ]
                }
              ]
            }
          ],
          "badges": [],
          "visible": [
            {
              "user": "dd8da2ed051341f086805992caab5ee3"
            },
            {
              "user": "cb71643a273740a7ac63a971c62bf646"
            },
            {
              "user": "1c86c89aeb774299aa5bb5c56f4eada3"
            }
          ],
          "cards": [],
          "background": {
            "opacity": 68,
            "alignment": "center",
            "size": "cover",
            "repeat": "no-repeat",
            "attachment": "fixed",
            "image": "/api/image/serve/2e36882c18bb896de944fd17b162f366/original"
          },
          "top_margin": false,
          "header": {
            "card": {
              "type": "markdown",
              "text_only": true,
              "content": "# Hello, {{ user }}!\n✨ *enjoy every day as if it would be the last!* ✨\n\n\n"
            }
          },
          "dense_section_placement": true
        },
        {
          "type": "sections",
          "path": "lucys",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:gap-card",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 2560px)"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Lights",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [
                        {
                          "entity": "input_boolean.scene_minimal",
                          "show_state": false,
                          "show_name": false,
                          "name": "Desk",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.scenes_control",
                            "data": {
                              "scene": "minimal"
                            },
                            "target": {}
                          }
                        },
                        {
                          "entity": "input_boolean.scene_musicfx",
                          "show_state": false,
                          "show_name": false,
                          "name": "MusicFX",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.scenes_control",
                            "data": {
                              "scene": "musicfx"
                            },
                            "target": {}
                          },
                          "icon": "mdi:equalizer"
                        },
                        {
                          "entity": "input_boolean.scene_uv_only",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.scenes_control",
                            "data": {
                              "scene": "uv_only"
                            },
                            "target": {}
                          }
                        },
                        {
                          "entity": "input_boolean.scene_tv_bar",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.scenes_control",
                            "data": {
                              "scene": "tv_bar"
                            },
                            "target": {}
                          }
                        },
                        {
                          "entity": "script.state_restore",
                          "tap_action": {
                            "action": "call-service",
                            "service": "script.state_restore",
                            "data": {
                              "sensor": "sensor.scene_default_2"
                            },
                            "target": {}
                          }
                        }
                      ],
                      "styles": ".bubble-sub-button {\n   #background-color: rgba(206, 108, 15, 1); \n   #height: 29px;\n   \n   #font-size: 16px !important;\n   #font-style: bold !important;\n}                  \n.bubble-sub-button-icon { \n  --mdc-icon-size: 24px !important;\n}\n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n}                   \n.bubble-icon {\n  #font-size: large !important;\n  #font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;    \n  #--mdc-icon-size: 28px\n}\n",
                      "show_name": true,
                      "icon": "mdi:lightbulb-variant"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "button_type": "slider",
                      "entity": "light.lucy_master",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "card_layout": "large",
                      "show_icon": true,
                      "icon": "mdi:power",
                      "name": "Master",
                      "show_state": false,
                      "show_last_changed": false,
                      "show_attribute": true,
                      "force_icon": false,
                      "styles": ".bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(1.15) !important;\n\n  background-color: ${state==='off' ? 'var(--secondary-background-color)' : 'rgb(6, 154, 136)'} !important;\n  opacity: 1.75 !important;\n}\n.bubble-icon { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  \n  color: ${state==='off' ? 'var(--secondary-background-color)' : 'rgb(6, 154, 136)'} !important;\n  #background-color: ${state==='off' ? 'var(--secondary-background-color)' : hass.states['sensor.wled_estimated_current'].state >= 10080  ? '#c27d00' : hass.states['sensor.wled_estimated_current'].state >= 13440 ? '#a40000' : 'rgb(56, 14, 136)'} !important;\n  filter: brightness(1.35) !important;\n  opacity: 1.75 !important;  \n  }\n      .bubble-name {\n       font-size: large !important;\n       font-style: bold !important;\n       color: var(--white-color) !important;\n       opacity: 1 !important;       \n        }  \n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(1.7) !important;\n\n  background-color: ${state==='off' ? 'var(--secondary-background-color)' : hass.states['sensor.wled_estimated_current'].state >= 10080  ? '#c27d00' : hass.states['sensor.wled_estimated_current'].state >= 13440 ? '#a40000' : 'rgb(56, 14, 136)'} !important;\n  opacity: 0.75 !important;\n}\n${state === 'on' \n    ? card.querySelector('.bubble-state').innerText = \"On • \" +Math.round(hass.states['light.lucy_master'].attributes.brightness / 255 * 100) + \"%\"\n    : card.querySelector('.bubble-state').innerText = 'Off'};  \n   ",
                      "sub_button": [
                        {
                          "entity": "input_select.light_scenes",
                          "select_attribute": "effect_list",
                          "light_background": false,
                          "state_background": false,
                          "show_icon": true,
                          "icon": "mdi:shimmer",
                          "show_state": true,
                          "show_attribute": true,
                          "attribute": "effect"
                        }
                      ],
                      "layout_type": "custom:grid-layout"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "light.tasmota_heart_heart",
                          "styles": ".bubble-name {\n  #font-size: 11px !important;\n  #font-weight: bold !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n} .bubble-state {\n # font-size: 11px !important;\n  #font-weight: bold !important;\n\n  color: ${state==='on' ? 'white' : 'var(--disabled-color)'} !important;\n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  #--mdc-icon-size: 27px;\n  opacity: 1 !important;\n  color: ${state==='on' ? 'rgba(127, 1, 81, 1.81)' : 'var(--disabled-color)'} !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: ${state==='on' ? 'var(--primary-background-color)' : 'transparent'} !important;            \n  background-color: ${state==='on' ? 'var(--secondary-background-color)' : 'var(--secondary-background-color)'} !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  background-color: ${hass.states['light.tasmota_heart_heart'].state==='on' ? 'rgba(127, 1, 81, 1.81)' : ''} !important;\n   opacity: 0.85 !important;\n}       \n\n${icon.setAttribute(\"icon\", state==='on' ? 'mdi:heart' : 'mdi:heart-outline')};",
                          "icon": "mdi:heart-outline",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "light.tasmota_vitrine_vitrine",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  #font-size: 11px !important;\n  #font-weight: bold !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n} .bubble-state {\n  #font-size: 10px !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n} .card-content {\n  width: 100% !important;\n}\n.bubble-name-container {            \n  margin: 0 !important;\n}\n.bubble-icon {\n  #--mdc-icon-size: 27px;\n  opacity: 1 !important;\n  color: ${state==='on' ? 'rgba(205, 106, 70, 1.71)' : 'var(--disabled-color)'} !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: ${state==='on' ? 'var(--primary-background-color)' : 'transparent'} !important;            \n  background-color: ${state==='on' ? 'var(--secondary-background-color)' : 'var(--secondary-background-color)'} !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n  background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  background-color: ${hass.states['light.tasmota_vitrine_vitrine'].state==='on' ? 'rgba(205, 106, 70, 1.71)' : ''} !important;\n   opacity: 1 !important;\n}        \n\n${icon.setAttribute(\"icon\", state==='on' ? 'mdi:rocket-launch' :  'mdi:rocket-launch-outline')};",
                          "icon": "mdi:rocket-launch-outline",
                          "tap_action": {
                            "action": "toggle"
                          }
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "light.tasmota_uv_uv",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "card_layout": "large",
                          "show_state": true,
                          "icon": "mdi:sun-wireless-outline",
                          "styles": ".bubble-name {\n  #font-size: 11px !important;\n  #font-weight: bold !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n  #self-align: center;\n} .bubble-state {\n # font-size: 10px !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n} .card-content {\n  width: 100% !important;\n}\n.bubble-name-container {            \n  margin: 2px !important;\n} .bubble-icon {\n  #--mdc-icon-size: 27px;\n  opacity: 1 !important;\n  color: ${state==='on' ? 'var(--purple-color)' : 'var(--disabled-color)'} !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: ${state==='on' ? 'var(--primary-background-color)' : 'transparent'} !important;            \n  background-color: ${state==='on' ? 'var(--secondary-background-color)' : 'var(--secondary-background-color)'} !important; \n  opacity: 0.75 !important;\n  \n}  .bubble-button-card-container {\n  background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}     .bubble-button-background {\n  background-color: ${state==='on' ? 'var(--purple-color)' : ''} !important; \n   opacity: 1 !important;\n}        \n\n${icon.setAttribute(\"icon\", state==='on' ? 'mdi:sun-wireless' :  'mdi:sun-wireless-outline')};"
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "10px 0px -8px 0px",
                        "padding": "0 0 0 0"
                      }
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "layout": {
                        "grid-template-columns": "auto",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      },
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.hexagon_2",
                          "sub_button": [
                            {
                              "icon": "mdi:shimmer",
                              "show_background": true,
                              "tap_action": {
                                "action": "navigate",
                                "navigation_path": "#hexagon-advanced"
                              },
                              "select_attribute": "effect_list",
                              "show_last_changed": false,
                              "show_state": false,
                              "show_attribute": false,
                              "attribute": "effect",
                              "light_background": false,
                              "state_background": false,
                              "show_arrow": true
                            }
                          ],
                          "card_layout": "large",
                          "show_state": false,
                          "show_attribute": true,
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "hold_action": {
                            "action": "more-info"
                          },
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state === 'on'  ? \"On • \" + Math.round(hass.states['light.hexagon_2'].attributes.brightness/255*100)+\"%\" : 'Off')};",
                          "use_accent_color": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.lucy_ceiling",
                          "show_attribute": true,
                          "name": "Fuchslampe",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "card_layout": "large",
                          "sub_button": [
                            {
                              "entity": "light.lucy_ceiling",
                              "visibility": [
                                {
                                  "condition": "and",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "on"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "select.lucys_ceiling_light_mode",
                                      "state": "effect"
                                    }
                                  ]
                                }
                              ],
                              "icon": "mdi:shimmer",
                              "light_background": false,
                              "state_background": false,
                              "select_attribute": "effect_list",
                              "show_state": false,
                              "show_attribute": false,
                              "attribute": "effect",
                              "show_arrow": true
                            },
                            {
                              "entity": "light.lucy_ceiling",
                              "icon": "mdi:minus-thick",
                              "state_background": false,
                              "light_background": false,
                              "show_attribute": false,
                              "attribute": "effect",
                              "show_state": false,
                              "visibility": [
                                {
                                  "condition": "and",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "on"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "select.lucys_ceiling_light_mode",
                                      "state": "color_temp"
                                    }
                                  ]
                                }
                              ],
                              "show_arrow": false,
                              "tap_action": {
                                "action": "call-service",
                                "target": {},
                                "service": "script.light_color_temp_by_step",
                                "data": {
                                  "value": 10,
                                  "entity": "light.lucy_ceiling"
                                }
                              }
                            },
                            {
                              "show_attribute": true,
                              "attribute": "color_temp_kelvin",
                              "show_state": false,
                              "show_icon": false,
                              "show_last_changed": false,
                              "light_background": false,
                              "state_background": false,
                              "show_name": false,
                              "visibility": [
                                {
                                  "condition": "and",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "on"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "select.lucys_ceiling_light_mode",
                                      "state": "color_temp"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "entity": "light.lucy_ceiling",
                              "visibility": [
                                {
                                  "condition": "and",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "on"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "select.lucys_ceiling_light_mode",
                                      "state": "color_temp"
                                    }
                                  ]
                                }
                              ],
                              "icon": "mdi:plus-thick",
                              "light_background": true,
                              "state_background": false,
                              "show_background": true,
                              "show_icon": true,
                              "tap_action": {
                                "action": "call-service",
                                "target": {},
                                "service": "script.light_color_temp_by_step",
                                "data": {
                                  "value": -10,
                                  "entity": "light.lucy_ceiling"
                                }
                              }
                            },
                            {
                              "show_background": true,
                              "icon": "mdi:shimmer",
                              "tap_action": {
                                "action": "call-service",
                                "service": "script.govee_control",
                                "data": {
                                  "mode": "effect",
                                  "sensor": "sensor.lucy_ceiling_attributes"
                                },
                                "target": {}
                              },
                              "show_state": false,
                              "show_arrow": false,
                              "show_last_changed": false,
                              "state_background": false,
                              "visibility": [
                                {
                                  "condition": "or",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "sensor.lucy_ceiling_color_mode",
                                      "state_not": "effect"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "off"
                                    }
                                  ]
                                }
                              ]
                            },
                            {
                              "show_background": true,
                              "icon": "mdi:sun-snowflake-variant",
                              "tap_action": {
                                "action": "call-service",
                                "service": "script.govee_control",
                                "data": {
                                  "mode": "color_temp",
                                  "sensor": "sensor.lucy_ceiling_attributes"
                                },
                                "target": {}
                              },
                              "show_state": false,
                              "show_arrow": false,
                              "show_last_changed": false,
                              "state_background": false,
                              "visibility": [
                                {
                                  "condition": "or",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "sensor.lucy_ceiling_color_mode",
                                      "state_not": "color_temp"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "light.lucy_ceiling",
                                      "state": "off"
                                    }
                                  ]
                                }
                              ]
                            }
                          ],
                          "show_state": true,
                          "show_icon": true,
                          "show_name": true,
                          "attribute": "brightness",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n} \n.bubble-sub-button-4 {\n  background-color: teal;\n}\n.bubble-sub-button-2 {\n  \n  background-color: var(--deep-orange-color);\n}",
                          "hold_action": {
                            "action": "more-info"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "use_accent_color": true,
                          "scrolling_effect": true
                        }
                      ]
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "layout": {
                        "grid-template-columns": "auto",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px -8px 0px"
                      },
                      "margin": "0px 0px 0px 0px",
                      "padding": "0 0 0 0",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.wled_controller",
                          "name": "WLED Controller",
                          "icon": "mdi:led-strip-variant",
                          "sub_button": [
                            {
                              "icon": "mdi:web",
                              "tap_action": {
                                "action": "url",
                                "url_path": "http://192.168.2.69/"
                              },
                              "show_background": true,
                              "show_state": false,
                              "state_background": true,
                              "show_name": false
                            },
                            {
                              "icon": "mdi:restart",
                              "tap_action": {
                                "action": "perform-action",
                                "perform_action": "button.press",
                                "target": {
                                  "entity_id": "button.wled_restart"
                                }
                              },
                              "show_background": true,
                              "state_background": true
                            },
                            {
                              "icon": "mdi:cog",
                              "show_background": true,
                              "tap_action": {
                                "action": "navigate",
                                "navigation_path": "#wled-advanced"
                              }
                            }
                          ],
                          "card_layout": "large",
                          "show_state": false,
                          "show_attribute": true,
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: brightness(1.15) !important;\n} \n.bubble-sub-button {\n  background: rgb(19, 13, 37) !important;\n}\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.75) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state === 'on'  ? \"On • \" + Math.round(hass.states[entity].attributes.brightness/255*100)+\"%\" : 'Off')};",
                          "use_accent_color": true
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "and",
                              "conditions": [
                                {
                                  "condition": "state",
                                  "entity": "input_boolean.scene_musicfx",
                                  "state_not": "on"
                                }
                              ]
                            }
                          ],
                          "card": {
                            "type": "custom:bubble-card",
                            "card_type": "button",
                            "button_type": "slider",
                            "entity": "light.wled",
                            "show_state": true,
                            "show_attribute": true,
                            "attribute": "brightness",
                            "card_layout": "large",
                            "tap_action": {
                              "action": "toggle"
                            },
                            "double_tap_action": {
                              "action": "more-info"
                            },
                            "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-sub-button {\n  background: var(--primary-color) !important;\n}\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};",
                            "sub_button": [
                              {
                                "icon": "mdi:shimmer",
                                "entity": "input_select.presets_wled",
                                "show_state": true,
                                "show_background": true
                              },
                              {
                                "icon": "mdi:palette",
                                "show_state": true,
                                "entity": "input_select.wled_color_palettes"
                              }
                            ],
                            "icon": "mdi:led-strip",
                            "name": "Group",
                            "use_accent_color": true
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "and",
                              "conditions": [
                                {
                                  "condition": "state",
                                  "entity": "input_boolean.scene_musicfx",
                                  "state": "on"
                                }
                              ]
                            }
                          ],
                          "card": {
                            "type": "custom:bubble-card",
                            "card_type": "button",
                            "button_type": "slider",
                            "entity": "light.ledfx_192_168_2_33_wled",
                            "icon": "mdi:led-strip-variant",
                            "name": "LedFX Main",
                            "sub_button": [
                              {
                                "icon": "mdi:shimmer",
                                "show_background": true,
                                "entity": "input_select.presets_ledfx",
                                "show_state": true,
                                "state_background": false
                              }
                            ],
                            "card_layout": "large",
                            "show_state": true,
                            "show_attribute": true,
                            "attribute": "brightness",
                            "tap_action": {
                              "action": "toggle"
                            },
                            "double_tap_action": {
                              "action": "more-info"
                            },
                            "styles": ".bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n    opacity: 1 !important;\n} \n.bubble-range-fill {                           \n  opacity: 0.8 !important;\n}                       ",
                            "use_accent_color": true
                          }
                        }
                      ]
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "margin": "0px 0px 0px 0px",
                      "padding": "0 0 0 0",
                      "cards": [
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_desktop",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                      ",
                              "icon": "mdi:desktop-classic",
                              "name": "Desktop"
                            },
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_desktop",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - Desktop",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                         ",
                              "icon": "mdi:desktop-classic"
                            }
                          }
                        },
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_ghost",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};   ",
                              "icon": "mdi:ghost",
                              "name": "Ghost"
                            },
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_ghost",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - Ghost",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                   ",
                              "icon": "mdi:ghost"
                            }
                          }
                        },
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_umbreon",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                  ",
                              "icon": "mdi:pokeball",
                              "name": "Umbreon"
                            },
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_umbreon",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - Umbreon",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "styles": ".bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n    opacity: 1 !important;\n} \n.bubble-range-fill {             \n  opacity: 0.8 !important;\n}                  ",
                              "icon": "mdi:pokeball"
                            }
                          }
                        },
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_tv",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                 ",
                              "icon": "mdi:television-classic",
                              "name": "TV"
                            },
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_tv",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - TV",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "styles": ".bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n    opacity: 1 !important;\n} \n.bubble-range-fill { \n  \n  opacity: 0.8 !important;\n}                    ",
                              "icon": "mdi:television-classic"
                            }
                          }
                        },
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_ceiling",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - Ceiling",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};    ",
                              "icon": "mdi:light-flood-down"
                            },
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_ceiling",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')}; ",
                              "icon": "mdi:light-flood-down",
                              "name": "Ceiling"
                            }
                          }
                        },
                        {
                          "type": "custom:state-switch",
                          "entity": "input_boolean.scene_musicfx",
                          "default": "off",
                          "states": {
                            "off": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.wled_bed",
                              "show_state": true,
                              "show_attribute": true,
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "use_accent_color": true,
                              "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On • \" +\nMath.round(hass.states[entity].attributes.brightness/255*100)+\"%\"\n: 'Off')};                     ",
                              "icon": "mdi:bed-outline",
                              "name": "Bed"
                            },
                            "on": {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "slider",
                              "entity": "light.ledfx_192_168_2_33_wled_bed",
                              "show_state": true,
                              "show_attribute": true,
                              "name": "LedFX - Bed",
                              "attribute": "brightness",
                              "card_layout": "large",
                              "tap_action": {
                                "action": "toggle"
                              },
                              "double_tap_action": {
                                "action": "more-info"
                              },
                              "styles": ".bubble-icon-container {\n  background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n    opacity: 1 !important;\n} \n.bubble-range-fill { \n  \n  opacity: 0.8 !important;\n}                      ",
                              "icon": "mdi:bed-outline"
                            }
                          }
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "50% 50%",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px 0px 0px"
                      }
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    }
                  ],
                  "grid_options": {
                    "columns": "full"
                  }
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:gap-card",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 2560px)"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "entity": "binary_sensor.lucy_pc",
                      "sub_button": [
                        {
                          "entity": "button.lucy_pc_sleep",
                          "icon": "mdi:sleep",
                          "tap_action": {
                            "action": "call-service",
                            "target": {},
                            "data": {
                              "action": "save"
                            },
                            "service": "script.save_restore_states"
                          },
                          "show_name": true,
                          "name": "Sleep"
                        },
                        {
                          "entity": "button.lucy_pc_hibernate_2",
                          "icon": "mdi:snowflake",
                          "state_background": true,
                          "show_background": true,
                          "show_name": true,
                          "name": "Hibernate",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "show_state": false,
                          "show_attribute": true
                        }
                      ],
                      "show_state": true,
                      "name": "",
                      "styles": ".bubble-sub-button {\n  width: 105px !important;\n\n}\n",
                      "card_layout": "large",
                      "button_type": "state",
                      "icon": "phu:desktop-computer"
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Media Player",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-sub-button {\n   #background-color: rgba(206, 108, 15, 1); \n   #height: 29px;\n   \n   #font-size: 16px !important;\n   #font-style: bold !important;\n}                  \n.bubble-sub-button-icon { \n  --mdc-icon-size: 24px !important;\n}\n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n}                   \n.bubble-icon {\n  #font-size: large !important;\n  #font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;    \n  #--mdc-icon-size: 28px\n}\n",
                      "show_name": true,
                      "icon": "mdi:multimedia"
                    },
                    {
                      "type": "custom:state-switch",
                      "entity": "media_player.vlc_lucy_s_room_2",
                      "default": "idle",
                      "states": {
                        "idle": {
                          "entity": "media_player.vlc_lucy_s_room_2",
                          "type": "custom:mini-media-player",
                          "icon": "mdi:vlc",
                          "artwork": "material",
                          "info": "scroll",
                          "background": "https://wallpaperaccess.com/full/1756508.jpg",
                          "scale": 1,
                          "idle_view": {
                            "when_idle": true,
                            "when_paused": true,
                            "when_standby": true,
                            "after": 30
                          },
                          "hide": {
                            "power": true,
                            "next": true,
                            "prev": true,
                            "runtime": false,
                            "icon_state": false,
                            "power_state": false
                          },
                          "shortcuts": {
                            "columns": 3,
                            "column_height": 32,
                            "buttons": [
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960ea1eb-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_lucy_s_room_2"
                                },
                                "cover": "https://www.phonostar.de/images/auto_created/hardbasefm2184x184.png"
                              },
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960e96f3-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_lucy_s_room_2"
                                },
                                "cover": "https://www.technobase.fm/content/images/site/logo-technobase.fm.png"
                              },
                              {
                                "type": "service",
                                "id": "script.webradio",
                                "data": {
                                  "entity_id": "media_player.vlc_lucy_s_room_2"
                                },
                                "icon": "mdi:radio-tower",
                                "name": "Custom"
                              }
                            ]
                          },
                          "source": "full"
                        },
                        "unavailable": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        },
                        "unknown": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        }
                      }
                    },
                    {
                      "type": "custom:fold-entity-row",
                      "padding": "0px",
                      "head": {
                        "type": "custom:bubble-card",
                        "card_type": "separator",
                        "name": "Custom URL",
                        "icon": "mdi:web-plus",
                        "button_type": "name",
                        "show_icon": true,
                        "card_layout": "normal",
                        "styles": ".bubble-name {\n  color: var(--disabled-color) !important;\n  font-size: 12px\n}   \n  .bubble-icon {\n    opacity: 0.8 !important;\n    color: var(--disabled-color) !important; \n    filter: contrast(1.2) !important;\n    --mdc-icon-size: 20px\n  }         "
                      },
                      "entities": [
                        {
                          "type": "custom:text-input-row",
                          "entity": "input_text.webradio_url",
                          "name": "Custom Media URL"
                        }
                      ]
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "entity": "media_player.spotify_player",
                      "type": "custom:mini-media-player",
                      "icon": "mdi:spotify",
                      "name": "Spotify",
                      "artwork": "cover",
                      "background": "https://cdn.wallpapersafari.com/73/36/kjoK1u.png",
                      "source": "full",
                      "scale": 1,
                      "hide": {
                        "power": true,
                        "next": false,
                        "prev": false,
                        "icon_state": false,
                        "power_state": false,
                        "shuffle": false,
                        "repeat": false
                      },
                      "shortcuts": {
                        "name": "Playlists",
                        "columns": 4,
                        "column_height": 24,
                        "label": "Select playlist...",
                        "list": [
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/1psnCErmODnQX1sgwy4SYe?si=b8d1dfc563c049db",
                            "name": "😽 Cozy Couch Cats 🛋️"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/0KiYAIxlDkkFH9wggNLJXQ?si=11a3cde88c044211",
                            "icon": "mdi:cat"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/4mXpy8lTVGq0j47ZIArtyt?si=ee6a7a2fca35414f",
                            "icon": "mdi:star-shooting"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/6SdjgBzS7VibMbCJp92JkW?si=0ff375e8396c4e3b",
                            "icon": "mdi:rocket-launch"
                          }
                        ]
                      },
                      "sound_mode": "icon"
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "entity": "media_player.fuchscast",
                      "type": "custom:mini-media-player",
                      "icon": "mdi:cast",
                      "name": "Fuchscast",
                      "artwork": "material",
                      "background": "https://wallpaperaccess.com/full/1601032.jpg",
                      "source": "full",
                      "scale": 1.1,
                      "idle_view": {
                        "when_idle": true,
                        "when_paused": true,
                        "when_standby": true,
                        "after": 30
                      },
                      "hide": {
                        "next": false,
                        "prev": false,
                        "runtime": false,
                        "icon_state": false,
                        "power_state": false,
                        "shuffle": false,
                        "repeat": false
                      },
                      "visibility": [
                        {
                          "condition": "state",
                          "entity": "media_player.fuchscast",
                          "state": "playing"
                        }
                      ],
                      "group": false
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    }
                  ],
                  "grid_options": {
                    "columns": "full"
                  }
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "media-player",
                  "entity": "media_player.vlc_lucy_s_room_2",
                  "min_volume": 0,
                  "max_volume": 125,
                  "icon": "mdi:vlc",
                  "card_layout": "large-2-rows",
                  "rows": "1.1",
                  "sub_button": [
                    {
                      "icon": "mdi:radio-fm",
                      "show_name": true,
                      "name": " technobase.fm"
                    },
                    {
                      "entity": "input_boolean.vlc_foxxbook_keep_playing",
                      "show_name": true,
                      "show_attribute": false,
                      "show_state": true,
                      "name": "Keep Playing",
                      "tap_action": {
                        "action": "toggle"
                      }
                    },
                    {
                      "entity": "button.lucy_pc_startvlc",
                      "icon": "mdi:script-text-play-outline",
                      "show_state": false,
                      "show_name": false,
                      "show_background": false
                    }
                  ],
                  "hide": {
                    "power_button": true
                  }
                },
                {
                  "entity": "binary_sensor.cubey_nas",
                  "type": "custom:bubble-card",
                  "card_type": "button",
                  "button_type": "state",
                  "sub_button": [],
                  "card_layout": "large"
                },
                {
                  "type": "custom:state-switch",
                  "entity": "media_player.vlc_lucy_s_room_2",
                  "default": "idle",
                  "states": {
                    "unavailable": null,
                    "unknown": null,
                    "idle": {
                      "entity": "media_player.vlc_lucy_s_room_2",
                      "type": "custom:mini-media-player",
                      "icon": "mdi:vlc",
                      "artwork": "material",
                      "background": "https://wallpapers.com/images/hd/dark-orange-background-ufee048v9o6p6eqt.jpg",
                      "scale": 1,
                      "idle_view": {
                        "when_idle": true,
                        "when_paused": true,
                        "when_standby": true,
                        "after": 30
                      },
                      "hide": {
                        "power": true,
                        "next": true,
                        "prev": true,
                        "runtime": false,
                        "name": true,
                        "icon_state": false,
                        "power_state": false
                      },
                      "shortcuts": {
                        "columns": 3,
                        "column_height": 32,
                        "buttons": [
                          {
                            "type": "service",
                            "id": "media_player.play_media",
                            "data": {
                              "media_content_type": "music",
                              "media_content_id": "media-source://radio_browser/960ea1eb-0601-11e8-ae97-52543be04c81",
                              "entity_id": "media_player.vlc_lucy_s_room_2"
                            },
                            "cover": "https://www.phonostar.de/images/auto_created/hardbasefm2184x184.png"
                          },
                          {
                            "type": "service",
                            "id": "media_player.play_media",
                            "data": {
                              "media_content_type": "music",
                              "media_content_id": "media-source://radio_browser/960e96f3-0601-11e8-ae97-52543be04c81",
                              "entity_id": "media_player.vlc_lucy_s_room_2"
                            },
                            "cover": "https://www.technobase.fm/content/images/site/logo-technobase.fm.png"
                          },
                          {
                            "type": "service",
                            "id": "script.webradio",
                            "data": {
                              "entity_id": "media_player.vlc_lucy_s_room_2"
                            },
                            "icon": "mdi:radio-tower",
                            "name": "Custom"
                          }
                        ]
                      },
                      "source": "full",
                      "visibility": [
                        {
                          "condition": "and",
                          "conditions": [
                            {
                              "condition": "state",
                              "entity": "media_player.vlc_lucy_s_room_2",
                              "state_not": "unavailable"
                            },
                            {
                              "condition": "state",
                              "entity": "media_player.vlc_lucy_s_room_2",
                              "state_not": "unknown"
                            }
                          ]
                        }
                      ]
                    }
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:gap-card",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 2560px)"
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#add-note",
                      "button_type": "state",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:notebook-plus",
                      "sub_button": [
                        {
                          "entity": "input_select.lists",
                          "show_state": true,
                          "show_name": false,
                          "show_attribute": false
                        }
                      ],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Add Note",
                      "margin_top_mobile": "60vh",
                      "show_header": false,
                      "margin_top_desktop": "60vh",
                      "bg_color": "",
                      "styles": ".bubble-background: {\n  background-color: var(--primary-background-color) !important;\n  opacity: 0 !important;\n}",
                      "bg_opacity": "70",
                      "bg_blur": "90",
                      "backdrop_blur": "100",
                      "shadow_opacity": "100"
                    },
                    {
                      "type": "custom:layout-card",
                      "cards": [
                        {
                          "type": "custom:text-input-row",
                          "entity": "input_text.add_list_item"
                        }
                      ],
                      "layout_type": "custom:grid-layout"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "icon": "mdi:book-plus",
                          "name": "Notes",
                          "card_type": "button",
                          "button_type": "name",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}        "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:cart-plus",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "name": "Shopping",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}  "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:invoice-text-plus",
                          "name": "Tasks",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}            ",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo"
                            }
                          }
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "-10px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "select",
                      "entity": "input_select.scene_saves",
                      "sub_button": [
                        {
                          "entity": "script.save_restore_states",
                          "icon": "mdi:content-save-check",
                          "tap_action": {
                            "action": "call-service",
                            "target": {},
                            "data": {
                              "action": "save"
                            },
                            "service": "script.save_restore_states"
                          },
                          "show_name": true,
                          "name": "Save"
                        },
                        {
                          "entity": "script.save_restore_states",
                          "icon": "mdi:check-bold",
                          "state_background": true,
                          "show_background": true,
                          "show_name": true,
                          "name": "Apply",
                          "tap_action": {
                            "action": "call-service",
                            "target": {},
                            "data": {
                              "action": "restore"
                            },
                            "service": "script.save_restore_states"
                          }
                        }
                      ],
                      "show_state": true,
                      "name": "States - Save & Restore",
                      "styles": ".bubble-sub-button {\n  width: 100% !important;\n\n}\n",
                      "card_layout": "large"
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ]
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    #background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--primary-color) !important;\n    opacity: 0.25 !important;\n    border-style: hidden !important;\n    border-color: var(--card-background-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--card-background-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3",
                        "cb71643a273740a7ac63a971c62bf646"
                      ]
                    }
                  ],
                  "4_icon": "mdi:cart",
                  "4_link": "lists",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus",
                  "6_link": "/lovelace/Pokestats",
                  "6_icon": "mdi:pokeball"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#wled-advanced",
                      "show_header": true,
                      "button_type": "state",
                      "entity": "light.wled_controller",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "sub_button": [
                        {
                          "entity": "select.wled_live_override",
                          "show_name": false,
                          "icon": "mdi:debug-step-over",
                          "show_state": true
                        }
                      ],
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:led-strip-variant",
                      "name": "WLED Controller",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "styles": "  \n    .bubble-sub-button-1 {\n      background-color: var(--card-background-color) !important;\n    }  ",
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)",
                      "use_accent_color": true
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "show_icon": true,
                      "icon": "mdi:cog",
                      "name": "FX Config - Global"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "input_number.wled_group_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "input_number.wled_group_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "switch",
                          "card_layout": "large",
                          "entity": "switch.wled_group_reverse",
                          "name": "Reverse",
                          "icon": "mdi:swap-horizontal-bold",
                          "show_name": true,
                          "show_state": true,
                          "show_icon": true,
                          "show_background": true,
                          "tap_action": {
                            "action": "toggle"
                          },
                          "styles": ""
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column",
                      "show_icon": true,
                      "icon": "mdi:cog",
                      "name": "Controller Settings"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#umbreon-advanced",
                      "show_header": true,
                      "button_type": "slider",
                      "entity": "light.wled_umbreon",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "sub_button": [],
                      "hold_action": {
                        "action": "more-info"
                      },
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:pokeball",
                      "name": "Umbreon",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_umbreon_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_umbreon_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:swap-horizontal-bold",
                          "name": "Reverse",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "switch",
                          "entity": "switch.wled_umbreon_reverse"
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#ghost-advanced",
                      "show_header": true,
                      "button_type": "slider",
                      "entity": "light.wled_ghost",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "sub_button": [],
                      "hold_action": {
                        "action": "more-info"
                      },
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:ghost",
                      "name": "Ghost",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_ghost_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_ghost_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:swap-horizontal-bold",
                          "name": "Reverse",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "switch",
                          "entity": "switch.wled_ghost_reverse"
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#ceiling-advanced",
                      "show_header": true,
                      "button_type": "slider",
                      "entity": "light.wled_ceiling",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "sub_button": [],
                      "hold_action": {
                        "action": "more-info"
                      },
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:light-flood-down",
                      "name": "Ceiling",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_ceiling_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_ceiling_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:swap-horizontal-bold",
                          "name": "Reverse",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "switch",
                          "entity": "switch.wled_ceiling_reverse"
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#tv-advanced",
                      "show_header": true,
                      "button_type": "slider",
                      "entity": "light.wled_tv",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "sub_button": [],
                      "hold_action": {
                        "action": "more-info"
                      },
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:television-classic",
                      "name": "TV",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_tv_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_tv_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:swap-horizontal-bold",
                          "name": "Reverse",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "switch",
                          "entity": "switch.wled_tv_reverse"
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "hash": "#desktop-advanced",
                      "show_header": true,
                      "button_type": "slider",
                      "entity": "light.wled_desktop",
                      "tap_action": {
                        "action": "toggle"
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "sub_button": [],
                      "hold_action": {
                        "action": "more-info"
                      },
                      "card_layout": "large",
                      "columns": 4,
                      "rows": 1,
                      "show_icon": true,
                      "icon": "mdi:desktop-classic",
                      "name": "Desktop",
                      "show_state": true,
                      "show_attribute": true,
                      "attribute": "brightness",
                      "show_last_changed": true,
                      "margin_top_mobile": "50vh",
                      "bg_color": "var(--secondary-background-color)"
                    },
                    {
                      "type": "horizontal-stack",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "name": "Intensity",
                          "show_state": true,
                          "icon": "mdi:ray-vertex",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_desktop_intensity"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:gauge",
                          "name": "Speed",
                          "card_layout": "normal",
                          "sub_button": [],
                          "button_type": "slider",
                          "entity": "number.wled_desktop_speed"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "show_name": true,
                          "show_state": true,
                          "icon": "mdi:swap-horizontal-bold",
                          "name": "Reverse",
                          "card_layout": "large",
                          "sub_button": [],
                          "button_type": "switch",
                          "entity": "switch.wled_desktop_reverse"
                        }
                      ]
                    }
                  ],
                  "layout_options": {
                    "grid_columns": 4,
                    "grid_rows": "auto"
                  }
                }
              ]
            }
          ],
          "max_columns": 3,
          "title": "Lucy's Room",
          "icon": "mdi:alpha-l-circle",
          "theme": "Cosmic Dream",
          "cards": [],
          "dense_section_placement": true,
          "visible": [
            {
              "user": "7088190086474bb7af04eccce73e1048"
            },
            {
              "user": "cb71643a273740a7ac63a971c62bf646"
            },
            {
              "user": "dd8da2ed051341f086805992caab5ee3"
            },
            {
              "user": "eb7be2e9e5554b78aeac4e592f79bf57"
            },
            {
              "user": "1c86c89aeb774299aa5bb5c56f4eada3"
            }
          ],
          "badges": [],
          "background": {
            "opacity": 63,
            "alignment": "center",
            "size": "cover",
            "repeat": "no-repeat",
            "attachment": "fixed",
            "image": "/api/image/serve/58e5bd84c4fc9911ece1a970133c0523/original"
          },
          "header": {
            "card": {
              "type": "markdown",
              "text_only": true,
              "content": "# 🚀 Foxxy's Universe 🦊\n\n\n\nUwU\n    \n"
            },
            "layout": "center",
            "badges_position": "bottom"
          },
          "top_margin": false,
          "subview": true
        },
        {
          "type": "sections",
          "max_columns": 2,
          "path": "Cuddle-cave",
          "dense_section_placement": true,
          "icon": "mdi:heart-circle",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:gap-card",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1280px)"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Lights",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [
                        {
                          "tap_action": {
                            "action": "navigate",
                            "navigation_path": "/lovelace/wled"
                          },
                          "icon": "phu:light-strip",
                          "name": "WLED WebUI",
                          "show_name": false
                        }
                      ],
                      "styles": ".bubble-icon {\n  #font-size: large !important;\n  #font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;    \n  #--mdc-icon-size: 28px\n}\n",
                      "show_name": true,
                      "icon": "mdi:lightbulb-group"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "button_type": "slider",
                      "styles": ".bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On\" \n\n: 'Off')};     \n.bubble-icon { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  \n  color: ${state==='off' ? 'var(--secondary-background-color)' : ''} !important;\n  #background-color: ${state==='off' ? 'var(--secondary-background-color)' : hass.states['sensor.wled_estimated_current'].state >= 10080  ? '#c27d00' : hass.states['sensor.wled_estimated_current'].state >= 13440 ? '#a40000' : 'rgb(56, 14, 136)'} !important;\n  filter: brightness(1.35) !important;\n  opacity: 0.75 !important;     ",
                      "show_attribute": true,
                      "name": "Master",
                      "tap_action": {
                        "action": "perform-action",
                        "perform_action": "switch.toggle",
                        "target": {
                          "entity_id": "switch.switch_switch_0"
                        },
                        "data": {}
                      },
                      "card_layout": "large",
                      "entity": "light.group_cave",
                      "show_state": true,
                      "show_icon": true,
                      "use_accent_color": true,
                      "icon": "mdi:heart-multiple",
                      "button_action": {
                        "tap_action": {
                          "action": "perform-action",
                          "perform_action": "switch.toggle",
                          "target": {
                            "entity_id": "switch.switch_switch_0"
                          },
                          "data": {}
                        },
                        "hold_action": {
                          "action": "more-info"
                        },
                        "double_tap_action": {
                          "action": "more-info"
                        }
                      },
                      "double_tap_action": {
                        "action": "more-info"
                      },
                      "hold_action": {
                        "action": "more-info"
                      }
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "margin": "0px 0px 0px 0px",
                      "padding": "0 0 0 0",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.cave_ceiling",
                          "show_state": true,
                          "show_attribute": true,
                          "attribute": "brightness",
                          "card_layout": "large",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "use_accent_color": true,
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-sub-button-2 {\n   background: ${state==='on' ? 'var(--deep-purple-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}\n.bubble-sub-button-1 {\n   background: ${state==='on' ? 'var(--deep-purple-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(0.5) !important;\n}\n.bubble-sub-button-2 {\n   background: ${state==='on' ? 'var(--deep-purple-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}          \n.bubble-sub-button-3 {\n   background: ${state==='on' ? 'var(--deep-orange-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 0.71 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  #filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}                              ",
                          "name": "Ceiling",
                          "icon": "bha:ceiling-downlight",
                          "sub_button": [
                            {
                              "entity": "light.games_room_ceiling",
                              "visibility": [
                                {
                                  "condition": "and",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "light.games_room_ceiling",
                                      "state": "on"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "sensor.games_room_ceiling_mode",
                                      "state": "0"
                                    }
                                  ]
                                }
                              ],
                              "icon": "mdi:shimmer",
                              "light_background": false,
                              "state_background": false,
                              "select_attribute": "effect_list",
                              "show_state": false,
                              "show_attribute": false,
                              "attribute": "effect"
                            },
                            {
                              "show_background": true,
                              "icon": "mdi:shimmer",
                              "tap_action": {
                                "action": "call-service",
                                "service": "script.govee_control",
                                "data": {
                                  "mode": "effect",
                                  "sensor": "sensor.games_room_ceiling_attributes"
                                },
                                "target": {}
                              },
                              "show_state": false,
                              "show_arrow": false,
                              "show_last_changed": false,
                              "state_background": true,
                              "visibility": [
                                {
                                  "condition": "or",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "sensor.games_room_ceiling_mode",
                                      "state_not": "0"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "light.games_room_ceiling",
                                      "state": "off"
                                    }
                                  ]
                                }
                              ],
                              "light_background": false
                            },
                            {
                              "show_background": true,
                              "icon": "bha:ceiling-downlight",
                              "tap_action": {
                                "action": "call-service",
                                "service": "script.govee_control",
                                "data": {
                                  "mode": "color_temp",
                                  "sensor": "sensor.games_room_ceiling_attributes"
                                },
                                "target": {}
                              },
                              "show_state": false,
                              "show_arrow": false,
                              "show_last_changed": false,
                              "state_background": true,
                              "visibility": [
                                {
                                  "condition": "or",
                                  "conditions": [
                                    {
                                      "condition": "state",
                                      "entity": "sensor.games_room_ceiling_mode",
                                      "state_not": "1"
                                    },
                                    {
                                      "condition": "state",
                                      "entity": "light.games_room_ceiling",
                                      "state": "off"
                                    }
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.games_room_ambient",
                          "show_state": true,
                          "show_attribute": true,
                          "attribute": "brightness",
                          "card_layout": "large",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "use_accent_color": true,
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-button-card-container { \n  background: ${state==='on' ? 'var(--primary-color)' : 'var(--secondary-background-color)'} !important;             \n  #filter: brightness(0.95) !important;\n\n  #opacity: 1.75 !important;\n}         ${card.querySelector('.bubble-state').innerText = (state ===\n'on'  ? \"On\" \n\n: 'Off')};                      ",
                          "name": "Ambient"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.games_room_vitrine",
                          "show_state": true,
                          "show_attribute": true,
                          "attribute": "brightness",
                          "card_layout": "large",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "use_accent_color": true,
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  #filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}                            ",
                          "name": "Vitrine",
                          "sub_button": [
                            {
                              "entity": "light.games_room_vitrine",
                              "select_attribute": "effect_list"
                            }
                          ]
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "entity": "light.games_room_moon",
                          "show_state": true,
                          "show_attribute": true,
                          "attribute": "brightness",
                          "card_layout": "large",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "double_tap_action": {
                            "action": "more-info"
                          },
                          "use_accent_color": true,
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n\n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n\n.bubble-range-fill { \n  display: ${state === 'on' ? '' : 'none'} !important;\n  #filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}                            ",
                          "name": "Moon",
                          "sub_button": [
                            {
                              "entity": "light.games_room_moon",
                              "select_attribute": "effect_list",
                              "icon": "mdi:shimmer"
                            }
                          ]
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "50% 50%",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px 0px 0px"
                      }
                    }
                  ],
                  "grid_options": {
                    "columns": "full"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:gap-card",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1280px)"
                    }
                  ]
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Media Player",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-sub-button {\n   #background-color: rgba(206, 108, 15, 1); \n   #height: 29px;\n   \n   #font-size: 16px !important;\n   #font-style: bold !important;\n}                  \n.bubble-sub-button-icon { \n  --mdc-icon-size: 24px !important;\n}\n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n}                   \n.bubble-icon {\n  #font-size: large !important;\n  #font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;    \n  #--mdc-icon-size: 28px\n}\n",
                      "show_name": true,
                      "icon": "mdi:multimedia"
                    },
                    {
                      "type": "custom:state-switch",
                      "entity": "media_player.vlc_cuddle_cave_2",
                      "default": "idle",
                      "states": {
                        "idle": {
                          "entity": "media_player.vlc_cuddle_cave_2",
                          "type": "custom:mini-media-player",
                          "icon": "mdi:vlc",
                          "artwork": "material",
                          "background": "https://wallpaperaccess.com/full/1756508.jpg",
                          "scale": 1,
                          "idle_view": {
                            "when_idle": true,
                            "when_paused": true,
                            "when_standby": true,
                            "after": 30
                          },
                          "hide": {
                            "power": true,
                            "next": true,
                            "prev": true,
                            "runtime": false,
                            "icon_state": false,
                            "power_state": false
                          },
                          "shortcuts": {
                            "columns": 3,
                            "column_height": 32,
                            "buttons": [
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960ea1eb-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_cuddle_cave_2"
                                },
                                "cover": "https://www.phonostar.de/images/auto_created/hardbasefm2184x184.png"
                              },
                              {
                                "type": "service",
                                "id": "media_player.play_media",
                                "data": {
                                  "media_content_type": "music",
                                  "media_content_id": "media-source://radio_browser/960e96f3-0601-11e8-ae97-52543be04c81",
                                  "entity_id": "media_player.vlc_cuddle_cave_2"
                                },
                                "cover": "https://www.technobase.fm/content/images/site/logo-technobase.fm.png"
                              },
                              {
                                "type": "service",
                                "id": "script.webradio",
                                "data": {
                                  "entity_id": "media_player.vlc_cuddle_cave_2"
                                },
                                "icon": "mdi:radio-tower",
                                "name": "Custom"
                              }
                            ]
                          },
                          "source": "full"
                        },
                        "unavailable": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        },
                        "unknown": {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "button.lucy_pc_startvlc",
                          "styles": ".bubble-name {\n  color: var(--orange-color) !important;\n} .bubble-state {\n  color: var(--disabled-color) !important; \n} .card-content {\n  width: 100% !important;\n  justify-content: flex-end !important;;\n}\n.bubble-name-container {            \n  margin: 0.0em !important;\n}\n.bubble-icon {\n  opacity: 1 !important;\n  color: var(--disabled-color) !important; \n  filter: contrast(1.2) !important;\n}          \n.bubble-icon-container {\n  color: transparent !important;            \n  background-color: var(--secondary-background-color) !important; \n  opacity: 0.75 !important;\n  \n} .bubble-button-card-container {\n   #display: ${hass.states['media_player.vlc_lucy_s_room_2'].state==='idle' ? 'none' : ''};\n   opacity: 1 !important;\n}    .bubble-button-background {\n   opacity: 0.85 !important;\n}       \n\n${card.querySelector('.bubble-state').innerText = \"Run vlc.exe on LUCY-PC\"};",
                          "icon": "mdi:vlc",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            },
                            "tap_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "name": "Start VLC",
                          "button_type": "state"
                        }
                      }
                    },
                    {
                      "entity": "input_boolean.vlc_foxxbook_keep_playing",
                      "name": "Auto Reconnect",
                      "icon": "mdi:restore"
                    },
                    {
                      "type": "custom:text-input-row",
                      "entity": "input_text.webradio_url",
                      "name": "Custom Media URL"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "type": "section"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "empty-column"
                    },
                    {
                      "entity": "media_player.spotify_player",
                      "type": "custom:mini-media-player",
                      "icon": "mdi:spotify",
                      "name": "Spotify",
                      "artwork": "cover",
                      "background": "https://cdn.wallpapersafari.com/73/36/kjoK1u.png",
                      "source": "full",
                      "scale": 1,
                      "hide": {
                        "power": true,
                        "next": false,
                        "prev": false,
                        "icon_state": false,
                        "power_state": false,
                        "shuffle": false,
                        "repeat": false
                      },
                      "shortcuts": {
                        "name": "Playlists",
                        "columns": 4,
                        "column_height": 24,
                        "label": "Select playlist...",
                        "list": [
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/1psnCErmODnQX1sgwy4SYe?si=b8d1dfc563c049db",
                            "name": "😽 Cozy Couch Cats 🛋️"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/0KiYAIxlDkkFH9wggNLJXQ?si=11a3cde88c044211",
                            "icon": "mdi:cat"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/4mXpy8lTVGq0j47ZIArtyt?si=ee6a7a2fca35414f",
                            "icon": "mdi:star-shooting"
                          },
                          {
                            "type": "playlist",
                            "id": "https://open.spotify.com/playlist/6SdjgBzS7VibMbCJp92JkW?si=0ff375e8396c4e3b",
                            "icon": "mdi:rocket-launch"
                          }
                        ]
                      },
                      "sound_mode": "icon"
                    }
                  ],
                  "grid_options": {
                    "columns": "full"
                  }
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#add-note",
                      "button_type": "state",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:notebook-plus",
                      "sub_button": [
                        {
                          "entity": "input_select.lists",
                          "show_state": true,
                          "show_name": false,
                          "show_attribute": false
                        }
                      ],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Add Note",
                      "margin_top_mobile": "60vh",
                      "show_header": false,
                      "margin_top_desktop": "60vh",
                      "bg_color": "",
                      "styles": ".bubble-background: {\n  background-color: var(--primary-background-color) !important;\n  opacity: 0 !important;\n}",
                      "bg_opacity": "70",
                      "bg_blur": "90",
                      "backdrop_blur": "100",
                      "shadow_opacity": "100"
                    },
                    {
                      "type": "custom:layout-card",
                      "cards": [
                        {
                          "type": "custom:text-input-row",
                          "entity": "input_text.add_list_item"
                        }
                      ],
                      "layout_type": "custom:grid-layout"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo_later"
                            }
                          },
                          "icon": "mdi:book-plus",
                          "name": "Notes",
                          "card_type": "button",
                          "button_type": "name",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}        "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:cart-plus",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.lebensmittel"
                            }
                          },
                          "name": "Shopping",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}  "
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "name",
                          "icon": "mdi:invoice-text-plus",
                          "name": "Tasks",
                          "styles": "\n.bubble-icon {\n   color:  'var(--primary-color)'  !important;            \n   opacity: 1 !important;\n   filter: 'brightness(1.15)' !important;\n} \n.bubble-icon-container {\n   background: ${state==='on' ? 'var(--primary-background-color)' : 'var(--secondary-background-color)'} !important;            \n   opacity: 1 !important;\n   color: var(--primary-background-color)\n   filter: brightness(1.55) !important;\n}  \n.bubble-button-background { \n  background:  'var(--primary-color)'  !important;\n  display: ${state === 'on' ? '' : 'none'} !important;\n  filter: brightness(0.15) !important;\n\n  opacity: 1.75 !important;\n}            ",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "script.add_list_item_2",
                            "data": {
                              "entity": "todo.todo"
                            }
                          },
                          "button_action": {
                            "tap_action": {
                              "action": "perform-action",
                              "perform_action": "script.add_list_item_2"
                            },
                            "data": {
                              "entity": "todo.todo"
                            }
                          }
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "-10px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ]
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    #background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--primary-color) !important;\n    opacity: 0.25 !important;\n    border-style: hidden !important;\n    border-color: var(--card-background-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--card-background-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3",
                        "cb71643a273740a7ac63a971c62bf646"
                      ]
                    }
                  ],
                  "4_icon": "mdi:cart",
                  "4_link": "lists",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus",
                  "6_link": "/lovelace/Pokestats",
                  "6_icon": "mdi:pokeball"
                }
              ]
            }
          ],
          "header": {
            "card": {
              "type": "markdown",
              "content": "# 💕 Cuddle Cave 💜\n{% if  states('media_player.vlc_games_room_2')=='plaing' %}\nListening to:\n**{{state_attr('media_player.spotify_player','media_artist')}}** - ***{{state_attr('media_player.spotify_player','media_title')}}***\n{%endif%}\n\n\n##\n##\n#\n",
              "text_only": true
            },
            "layout": "center",
            "badges_position": "bottom"
          },
          "cards": [],
          "top_margin": false,
          "badges": [],
          "background": {
            "opacity": 35,
            "alignment": "center",
            "size": "cover",
            "repeat": "no-repeat",
            "attachment": "fixed",
            "image": "/api/image/serve/77f9f586163c645f346211a58c08858e/original"
          },
          "subview": true
        },
        {
          "type": "sections",
          "max_columns": 3,
          "icon": "mdi:list-status",
          "path": "lists",
          "dense_section_placement": true,
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Shopping List",
                  "heading_style": "title",
                  "icon": "mdi:cart",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1270px)"
                    }
                  ],
                  "badges": [
                    {
                      "type": "entity",
                      "show_state": true,
                      "show_icon": true,
                      "entity": "todo.lebensmittel",
                      "state_content": [
                        "state",
                        "last_changed"
                      ]
                    }
                  ]
                },
                {
                  "display_order": "none",
                  "type": "todo-list",
                  "entity": "todo.lebensmittel",
                  "hide_create": false,
                  "hide_completed": true,
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1270px)"
                    }
                  ]
                },
                {
                  "type": "custom:swipe-card",
                  "cards": [
                    {
                      "type": "todo-list",
                      "entity": "todo.lebensmittel"
                    },
                    {
                      "type": "todo-list",
                      "entity": "todo.todo"
                    },
                    {
                      "type": "todo-list",
                      "entity": "todo.todo_later"
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 0px) and (max-width: 767px)"
                    }
                  ]
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    #background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--primary-color) !important;\n    opacity: 0.25 !important;\n    border-style: hidden !important;\n    border-color: var(--card-background-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--card-background-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ],
                  "4_icon": "mdi:playlist-plus",
                  "4_link": "#add-note",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus"
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Tasks",
                  "heading_style": "title",
                  "icon": "mdi:checkbox-marked-circle-outline",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1270px)"
                    }
                  ]
                },
                {
                  "display_order": "none",
                  "type": "todo-list",
                  "entity": "todo.todo",
                  "hide_create": false,
                  "hide_completed": true,
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1270px)"
                    }
                  ]
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "heading",
                  "heading": "Ideas & Notes",
                  "heading_style": "title",
                  "icon": "mdi:notebook",
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1270px)"
                    }
                  ]
                },
                {
                  "display_order": "none",
                  "type": "todo-list",
                  "entity": "todo.todo_later",
                  "hide_create": false,
                  "hide_completed": true,
                  "visibility": [
                    {
                      "condition": "screen",
                      "media_query": "(min-width: 1024px)"
                    }
                  ]
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    #background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--primary-color) !important;\n    opacity: 0.25 !important;\n    border-style: hidden !important;\n    border-color: var(--card-background-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--card-background-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3",
                        "cb71643a273740a7ac63a971c62bf646"
                      ]
                    }
                  ],
                  "4_icon": "mdi:cart",
                  "4_link": "lists",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus",
                  "6_link": "/lovelace/Pokestats",
                  "6_icon": "mdi:pokeball"
                }
              ]
            }
          ],
          "visible": [
            {
              "user": "dd8da2ed051341f086805992caab5ee3"
            }
          ],
          "cards": [],
          "header": {
            "card": {
              "type": "markdown",
              "text_only": true,
              "content": "# Lists\n"
            }
          },
          "background": {
            "opacity": 65,
            "alignment": "center",
            "size": "cover",
            "repeat": "repeat",
            "attachment": "fixed",
            "image": "/api/image/serve/4bf741b7eb43602df0d8d5fa276b8059/original"
          },
          "subview": true,
          "title": "Lists"
        },
        {
          "type": "sections",
          "max_columns": 2,
          "path": "cams",
          "icon": "mdi:cctv",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:advanced-camera-card",
                  "cameras": [
                    {
                      "camera_entity": "camera.meow_cam_2_mainstream_3",
                      "live_provider": "auto",
                      "title": "FoxxyCam #2",
                      "icon": "mdi:eye",
                      "image": {
                        "mode": "camera",
                        "refresh_seconds": 10
                      },
                      "triggers": {
                        "motion": true
                      },
                      "cast": {
                        "method": "standard"
                      },
                      "id": "2"
                    },
                    {
                      "camera_entity": "camera.meow_cam_1_mainstream",
                      "live_provider": "auto",
                      "title": "FoxxyCam #1",
                      "icon": "mdi:eye",
                      "id": "1",
                      "image": {
                        "mode": "camera",
                        "refresh_seconds": 10
                      },
                      "triggers": {
                        "motion": true
                      },
                      "cast": {
                        "method": "standard"
                      }
                    }
                  ],
                  "view": {
                    "default": "live",
                    "camera_select": "live",
                    "triggers": {
                      "show_trigger_status": true
                    }
                  },
                  "menu": {
                    "buttons": {
                      "recordings": {
                        "enabled": true
                      },
                      "image": {
                        "enabled": true
                      },
                      "expand": {
                        "enabled": true
                      },
                      "microphone": {
                        "enabled": false,
                        "priority": 98
                      },
                      "play": {
                        "enabled": true
                      },
                      "mute": {
                        "enabled": false
                      },
                      "screenshot": {
                        "enabled": true
                      },
                      "ptz_controls": {
                        "enabled": false
                      },
                      "toggle_nightvision": {
                        "enabled": true,
                        "title": "Nightvision Toggle",
                        "icon": "mdi:weather-night",
                        "tap_action": {
                          "action": "perform-action",
                          "data": {
                            "entity_id": "select.meow_cam_2_night_vision"
                          },
                          "perform_action": "select.select_next"
                        }
                      },
                      "ptz_home": {
                        "enabled": false
                      }
                    },
                    "style": "overlay",
                    "position": "top"
                  },
                  "status_bar": {
                    "style": "overlay"
                  },
                  "live": {
                    "display": {
                      "mode": "grid",
                      "grid_selected_position": "first"
                    },
                    "controls": {
                      "next_previous": {
                        "style": "chevrons"
                      },
                      "thumbnails": {
                        "mode": "below",
                        "media_type": "events",
                        "events_media_type": "snapshots"
                      },
                      "timeline": {
                        "mode": "above",
                        "style": "ribbon",
                        "pan_mode": "seek-in-camera"
                      }
                    }
                  },
                  "media_gallery": {
                    "controls": {
                      "thumbnails": {
                        "size": 140
                      },
                      "filter": {
                        "mode": "left"
                      }
                    }
                  },
                  "media_viewer": {
                    "auto_play": [
                      "selected"
                    ],
                    "auto_pause": [
                      "unselected",
                      "hidden"
                    ],
                    "auto_mute": [
                      "hidden"
                    ],
                    "transition_effect": "slide",
                    "display": {
                      "mode": "grid"
                    },
                    "controls": {
                      "thumbnails": {
                        "mode": "below"
                      },
                      "timeline": {
                        "mode": "above",
                        "style": "stack"
                      }
                    }
                  },
                  "image": {
                    "mode": "camera"
                  },
                  "timeline": {
                    "style": "ribbon",
                    "events_media_type": "all",
                    "controls": {
                      "thumbnails": {
                        "mode": "below"
                      }
                    }
                  },
                  "dimensions": {
                    "aspect_ratio_mode": "dynamic"
                  }
                },
                {
                  "type": "custom:bubble-card",
                  "card_type": "button",
                  "name": "Scenes",
                  "button_type": "name",
                  "card_layout": "large",
                  "styles": ".bubble-name {\n  color: var(--white-color) !important;\n  opacity: 1 !important;                  \n}\n\n.bubble-button-background {\n  background-color: var(--card-background-color) !important;\n  opacity: 0 !important;                  \n}\n            .bubble-sub-button-icon {\n              --mdc-icon-size: inherit !important;\n            }\n            .bubble-name-container {\n              margin-right: 0px !important;\n            }\n            .bubble-sub-button-container {\n              width: 100%;\n              margin: -6px !important;\n              justify-content: space-evenly !important;\n            }  \n            .bubble-sub-button {\n             # height: 42px !important;\n              width: 33.33% !important;\n              background: var(--card-background-color) !important;\n            }   \n            .card-content {\n              width: 100%;\n              margin: 0 !important;\n            }\n.bubble-sub-button-icon {  \n  --mdc-icon-size: 24px !important;\n}        \n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n} ",
                  "show_name": false,
                  "icon": "mdi:auto-fix",
                  "sub_button": [
                    {
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.state_restore",
                        "data": {
                          "sensor": "sensor.scene_default_2"
                        },
                        "target": {}
                      },
                      "entity": "select.meow_cam_2_night_vision_switching",
                      "show_last_changed": false,
                      "show_state": true,
                      "show_name": false,
                      "name": "Night Vision"
                    },
                    {
                      "show_state": true,
                      "entity": "switch.meow_cam_2_microphone_mute",
                      "show_name": false,
                      "name": "Mic. Mute",
                      "tap_action": {
                        "action": "toggle"
                      }
                    },
                    {
                      "entity": "switch.meow_cam_2_flip",
                      "show_state": true,
                      "show_name": false,
                      "name": "Flip",
                      "tap_action": {
                        "action": "toggle"
                      }
                    }
                  ],
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.state_restore",
                    "data": {
                      "sensor": "sensor.scene_default_2"
                    },
                    "target": {}
                  },
                  "show_icon": false
                }
              ]
            }
          ]
        },
        {
          "type": "sections",
          "max_columns": 3,
          "icon": "mdi:cog",
          "path": "admin",
          "sections": [
            {
              "type": "grid",
              "cards": [
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#remote",
                      "button_type": "name",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:remote-desktop",
                      "sub_button": [],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Remote Control",
                      "margin_top_mobile": "31vh",
                      "show_header": true,
                      "margin_top_desktop": "14vh",
                      "bg_color": "var(--secondary-background-color)",
                      "entity": "input_select.misc",
                      "styles": ".bubble-background: {\n  background-color: var(--secondary-background-color) !important;\n  opacity: 1;\n}",
                      "bg_opacity": "100",
                      "bg_blur": "55"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "button_type": "slider",
                          "show_name": true,
                          "card_layout": "normal",
                          "entity": "input_number.volumeslider",
                          "force_icon": true,
                          "scrolling_effect": true,
                          "show_state": false,
                          "tap_action": {
                            "action": "call-service",
                            "service": "button.press",
                            "target": {
                              "entity_id": "button.lucy_pc_mute"
                            }
                          },
                          "show_icon": true,
                          "show_attribute": true,
                          "name": "Volume",
                          "sub_button": [
                            {
                              "icon": "mdi:monitor-speaker",
                              "entity": "sensor.default_audio_device_short_name",
                              "tap_action": {
                                "action": "call-service",
                                "service": "script.toggle_playback",
                                "target": {}
                              },
                              "show_background": false
                            }
                          ],
                          "styles": ".bubble-sub-button-icon {\n  --mdc-icon-size: inherit !important;\n}\n  .bubble-sub-button {\n   # height: 46px !important;\n    #width: 46px !important;\n  }  \n.bubble-sub-button-1 {\n  background: var(--card-background-color) !important;\n  opacity: 1 !important;\n  filter: brightness(0.7) !important;\n}\n.bubble-icon {\n  color: ${hass.states['sensor.lucy_pc_audio_default_device_muted_2'].state === 'True' ? 'rgba(130, 0, 0, 0.51)' : ''} !important;\n  opacity: 1 !important;\n  filter: brightness(0.7) !important;\n  \n}\n.bubble-range-fill { \n  background: ${hass.states['sensor.lucy_pc_audio_default_device_muted_2'].state === 'True'  ? 'rgba(90, 0, 0, 0.53)' : ''} !important;\n  opacity: 1 !important;\n  filter: brightness(0.5) !important;\n} \n.bubble-button-card-container {\n  background: var(--primary-background-color) !important;;\n  opacity: 1 !important;\n  filter: brightness(1.5) !important;\n}       \n${hass.states['sensor.lucy_pc_audio_default_device_muted_2'].state ===\n'True' \n  ? card.querySelector('.bubble-state').innerText = 'Muted'\n  : card.querySelector('.bubble-state').innerText = Math.round(hass.states['input_number.volumeslider'].state/65553*100) + \"%\"} ;\n\n      \n\n${icon.setAttribute(\"icon\",\nhass.states['sensor.lucy_pc_audio_default_device_muted_2'].state ===\n'True' ? 'mdi:volume-variant-off' : 'mdi:volume-source')};\n\n\n\n\n${subButtonIcon[0].setAttribute(\"icon\", hass.states['sensor.default_audio_device_short_name'].state === 'Speakers' \n? 'mdi:television-speaker' \n: 'mdi:headset')};\n.bubble-icon {\n  color: 'white' !important;\n  opacity: 1 !important;\n  }\n"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "sub_button": [
                            {
                              "entity": "button.lucy_pc_screensleep",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle"
                              },
                              "icon": "mdi:monitor-off"
                            },
                            {
                              "entity": "button.lucy_pc_screenwake",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle"
                              },
                              "icon": "mdi:monitor-shimmer"
                            },
                            {
                              "entity": "button.lucy_pc_shutdown",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle"
                              },
                              "icon": "mdi:power-standby"
                            },
                            {
                              "entity": "button.lucy_pc_restart",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle"
                              },
                              "icon": "mdi:restart"
                            },
                            {
                              "entity": "button.lucy_pc_hibernate",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle"
                              },
                              "icon": "mdi:sleep"
                            },
                            {
                              "entity": "button.lucy_pc_standby",
                              "show_name": false,
                              "show_state": false,
                              "tap_action": {
                                "action": "toggle",
                                "service": "script.standby_wake_pc"
                              },
                              "icon": "mdi:power-sleep"
                            }
                          ],
                          "card_layout": "normal",
                          "name": "System",
                          "show_icon": false,
                          "show_state": false,
                          "show_name": false,
                          "scrolling_effect": true,
                          "styles": "\n\n.card-content {\n  width: 100%;\n  margin: 0 !important;\n}\n.bubble-sub-button {\n  height: 48px !important;\n  width: 48px !important;\n  #background: var(--secodary-background-color) !important;\n  background-color:  var(--card-background-color) !important;\n\n}\n.bubble-sub-button-icon {\n  --mdc-icon-size: 2.3em !important;\n  \n}\n\n.bubble-icon {\n  color: 'white' !important;\n  opacity: 1 !important;\n} \n\n\n.bubble-sub-button-container {\n  #background: teal !important;\n  width: 100%;\n  justify-content: space-between !important;   \n  margin: 0 !important;\n}\n.bubble-name-container {\n  margin-right: 0px !important;\n}\n    .bubble-button-card-container {\n      background: none;\n    }",
                          "button_type": "name",
                          "icon": "mdi:desktop-tower"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "media-player",
                          "entity": "media_player.spotify_lucy_foxx"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "media-player",
                          "entity": "media_player.fuchscast"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "media-player",
                          "entity": "media_player.vlc_telnet"
                        }
                      ],
                      "layout": {
                        "margin": "-10px -10px -10px -10px"
                      }
                    }
                  ]
                },
                {
                  "type": "vertical-stack",
                  "cards": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "pop-up",
                      "hash": "#kitchen-timer",
                      "button_type": "name",
                      "show_name": true,
                      "show_icon": true,
                      "icon": "mdi:timer",
                      "sub_button": [],
                      "card_layout": "large",
                      "show_last_changed": false,
                      "show_state": true,
                      "name": "Timer",
                      "margin_top_mobile": "17vh",
                      "show_header": true,
                      "margin_top_desktop": "15vh",
                      "bg_color": "var(--secondary-background-color)",
                      "entity": "input_select.misc",
                      "styles": ".bubble-background: {\n  background-color: var(--secondary-background-color) !important;\n  opacity: 1;\n}"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "layout": {
                        "grid-template-columns": "auto auto auto",
                        "grid-template-rows": "auto",
                        "margin": "0px 0px 0px 0px",
                        "padding": "0 0 0 0"
                      },
                      "cards": [
                        {
                          "type": "custom:numberbox-card",
                          "border": false,
                          "entity": "input_number.timer_hours",
                          "unit": "h",
                          "speed": 100,
                          "icon": false,
                          "name": false,
                          "picture": false,
                          "delay": 0
                        },
                        {
                          "type": "custom:numberbox-card",
                          "border": false,
                          "entity": "input_number.timer_minutes",
                          "speed": 100,
                          "name": false,
                          "picture": false,
                          "unit": "min",
                          "icon": false,
                          "delay": 0
                        },
                        {
                          "type": "custom:numberbox-card",
                          "border": false,
                          "entity": "input_number.timer_seconds",
                          "unit": "sec",
                          "delay": 1000,
                          "name": false,
                          "picture": false,
                          "icon": false,
                          "speed": 200
                        }
                      ]
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "button",
                      "sub_button": [
                        {
                          "name": "Cancel",
                          "show_name": false,
                          "icon": "mdi:close",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.cancel",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "or",
                              "conditions": [
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "active"
                                },
                                {
                                  "condition": "state",
                                  "entity": "timer.kitchen_timer",
                                  "state": "paused"
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "icon": "mdi:timer-plus",
                          "name": "Start",
                          "show_name": false,
                          "tap_action": {
                            "perform_action": "script.timer",
                            "action": "call-service",
                            "target": {},
                            "service": "script.timer"
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "idle"
                            }
                          ]
                        },
                        {
                          "icon": "mdi:timer-pause",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.pause",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "active"
                            }
                          ]
                        },
                        {
                          "icon": "mdi:timer-play",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "timer.start",
                            "target": {
                              "entity_id": "timer.kitchen_timer"
                            }
                          },
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "timer.kitchen_timer",
                              "state": "paused"
                            }
                          ]
                        }
                      ],
                      "card_layout": "large",
                      "styles": ".bubble-line {\n  background: none !important;\n}\n\n.bubble-sub-button-1 {\n  \n  background: rgb(170,0,0) !important;\n}\n.bubble-sub-button-2 {\n  \n  background: teal !important;\n}\n.bubble-sub-button-3 {\n  \n  background: var(--deep-orange-color) !important;\n}\n.bubble-sub-button-4 {\n  \n  background: rgba(100,100,100,0.65) !important;\n}",
                      "entity": "timer.reminder",
                      "show_name": false,
                      "show_attribute": true,
                      "attribute": "duration",
                      "icon": "mdi:timer",
                      "show_icon": false,
                      "button_type": "name"
                    },
                    {
                      "type": "conditional",
                      "conditions": [
                        {
                          "condition": "state",
                          "entity": "timer.kitchen_timer",
                          "state_not": "idle"
                        }
                      ],
                      "card": {
                        "type": "custom:circular-timer-card",
                        "entity": "timer.kitchen_timer",
                        "bins": 20,
                        "color": [
                          "#6000c0",
                          "#9000d0",
                          "#Af00af"
                        ],
                        "layout": "minimal",
                        "color_state": true,
                        "secondary_info": "timer",
                        "card_mod": {
                          "style": {
                            "ha-markdown $": "h1 img {\n  vertical-align: center;\n}\n",
                            ".": "\nha-card {\n  background-color: transparent !important;\n\n}  \n"
                          }
                        }
                      }
                    }
                  ]
                },
                {
                  "type": "tile",
                  "entity": "button.playback_device_toggle"
                },
                {
                  "type": "tile",
                  "entity": "button.standby_resume"
                },
                {
                  "type": "custom:apexcharts-card",
                  "graph_span": "2h",
                  "header": {
                    "show": true,
                    "title": "ApexCharts-Card",
                    "show_states": true,
                    "colorize_states": true
                  },
                  "series": [
                    {
                      "entity": "sensor.pmg_autocatcher_stats",
                      "attribute": "catched"
                    },
                    {
                      "entity": "sensor.pmg_autocatcher_stats",
                      "attribute": "items"
                    },
                    {
                      "entity": "sensor.pmg_autocatcher_stats",
                      "attribute": "fled"
                    }
                  ]
                },
                {
                  "type": "tile",
                  "entity": "light.shellyrgbw2_48e72965b27a"
                },
                {
                  "type": "tile",
                  "entity": "light.shellyrgbw2_48e72965b27a_channel_2"
                },
                {
                  "type": "tile",
                  "entity": "light.shellyrgbw2_48e72965b27a_channel_3"
                },
                {
                  "type": "tile",
                  "entity": "light.shellyrgbw2_48e72965b27a_channel_4"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:bubble-card",
                  "card_type": "button",
                  "name": "Scenes",
                  "button_type": "name",
                  "card_layout": "large",
                  "styles": ".bubble-name {\n  color: var(--white-color) !important;\n  opacity: 1 !important;                  \n}\n\n.bubble-button-background {\n  background-color: var(--card-background-color) !important;\n  opacity: 1 !important;                  \n}\n            .bubble-sub-button-icon {\n              --mdc-icon-size: inherit !important;\n            }\n            .bubble-name-container {\n              margin-right: 0px !important;\n            }\n            .bubble-sub-button-container {\n              width: 100%;\n              margin: -6px !important;\n              justify-content: space-evenly !important;\n            }  \n            .bubble-sub-button {\n              height: 42px !important;\n              width: 20% !important;\n              background: var(--secondary-background-color) !important;\n            }   \n            .card-content {\n              width: 100%;\n              margin: 0 !important;\n            }\n.bubble-sub-button-icon {  \n  --mdc-icon-size: 24px !important;\n}        \n.bubble-sub-button-1{\n    background-color: ${hass.states['input_boolean.scene_minimal'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}                 \n.bubble-sub-button-2{\n    background-color: ${hass.states['input_boolean.scene_musicfx'].state==='on' ? 'var(--primary-color)' : ''} !important;\n} \n.bubble-sub-button-3{\n   background-color: ${hass.states['input_boolean.scene_uv_only'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}   \n.bubble-sub-button-4{\n   background-color: ${hass.states['input_boolean.scene_tv_bar'].state==='on' ? 'var(--primary-color)' : ''} !important;\n}\n.bubble-sub-button-5{\n   background-color: var(--deep-orange-color) !important;\n} ",
                  "show_name": false,
                  "icon": "mdi:auto-fix",
                  "sub_button": [
                    {
                      "entity": "input_boolean.scene_minimal",
                      "show_state": false,
                      "show_name": false,
                      "name": "Desk",
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.scenes_control",
                        "data": {
                          "scene": "minimal"
                        },
                        "target": {}
                      }
                    },
                    {
                      "entity": "input_boolean.scene_musicfx",
                      "show_state": false,
                      "show_name": false,
                      "name": "MusicFX",
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.scenes_control",
                        "data": {
                          "scene": "musicfx"
                        },
                        "target": {}
                      },
                      "icon": "mdi:equalizer"
                    },
                    {
                      "entity": "input_boolean.scene_uv_only",
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.scenes_control",
                        "data": {
                          "scene": "uv_only"
                        },
                        "target": {}
                      }
                    },
                    {
                      "entity": "input_boolean.scene_tv_bar",
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.scenes_control",
                        "data": {
                          "scene": "tv_bar"
                        },
                        "target": {}
                      }
                    },
                    {
                      "entity": "script.state_restore",
                      "tap_action": {
                        "action": "call-service",
                        "service": "script.state_restore",
                        "data": {
                          "sensor": "sensor.scene_default_2"
                        },
                        "target": {}
                      }
                    }
                  ],
                  "tap_action": {
                    "action": "call-service",
                    "service": "script.state_restore",
                    "data": {
                      "sensor": "sensor.scene_default_2"
                    },
                    "target": {}
                  },
                  "show_icon": false
                },
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Package Tracking",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;       \n} .bubble-icon {\n  #--mdc-icon-size: 32px    \n}",
                      "show_name": true,
                      "icon": "mdi:package-variant"
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "layout": null,
                      "cards": [
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_in_transit",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_in_transit'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_in_transit'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_ready_to_be_picked_up",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_ready_to_be_picked_up'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_ready_to_be_picked_up'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_undelivered",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "\n  {% if states.sensor['17track_undelivered'].attributes.packages | length > 0 %}\n  ### In Transit:\n\n\n  {% for package in states.sensor['17track_undelivered'].attributes.packages %}\n **{{ package.friendly_name or 'Unknown' }}:** **`{{ package.tracking_number }}`** \n {{ package.info_text }} \n *({{ as_timestamp(package.timestamp) |\n  timestamp_custom('%d. %B %Y, %H:%M') }})*\n[***`{{ \"More info\" }}`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})  \n  {% endfor %} {% endif %}"
                          }
                        },
                        {
                          "type": "conditional",
                          "conditions": [
                            {
                              "condition": "numeric_state",
                              "entity": "sensor.17track_delivered",
                              "above": 0
                            }
                          ],
                          "card": {
                            "type": "markdown",
                            "content": "{% if states.sensor['17track_delivered'].attributes.packages | length > 0 %}\n### Delivered:\n \n  \n  \n{% for package in states.sensor['17track_delivered'].attributes.packages %}\n \n**{{ package.friendly_name or 'Unknown' }}:**  **`{{ package.tracking_number }}`**  \n{{ package.info_text }}    *({{ as_timestamp(package.timestamp) | timestamp_custom('%d. %B %Y, %H:%M') }})*  \n[***`More info`***](https://www.17track.net/en/track?nums={{ package.tracking_number }})   [***`Copy Tracking Number`***](#)  \n\n \n{%- endfor %} {% endif %}\n",
                            "tap_action": {
                              "action": "call-service",
                              "service": "input_text.set_value",
                              "service_data": {
                                "entity_id": "input_text.tracking_number",
                                "value": "{{ package.tracking_number }}"
                              }
                            }
                          }
                        },
                        {
                          "type": "custom:stack-in-card",
                          "mode": "horizontal",
                          "cards": [
                            {
                              "entity": "input_text.tracking_number",
                              "type": "custom:text-input-row"
                            },
                            {
                              "type": "custom:bubble-card",
                              "card_type": "button",
                              "button_type": "name",
                              "card_layout": "large",
                              "show_name": false,
                              "show_icon": false,
                              "button_action": {
                                "tap_action": {
                                  "action": "url",
                                  "url_path": "https://buyer.17track.net/de/myshipment?ob=1"
                                }
                              },
                              "sub_button": [
                                {
                                  "tap_action": {
                                    "action": "call-service",
                                    "service": "script.archive_package"
                                  },
                                  "icon": "mdi:archive-check-outline",
                                  "name": "Archive",
                                  "show_name": true
                                },
                                {
                                  "icon": "mdi:package-variant-closed-plus",
                                  "name": "Add",
                                  "show_name": true,
                                  "tap_action": {
                                    "action": "url",
                                    "url_path": "https://buyer.17track.net/de/myshipment?ob=1"
                                  }
                                }
                              ],
                              "styles": ".bubble-button-background{\n  background-color: var(--card-background-color) !important;\n  opacity: 0 !important;\n}       .bubble-sub-button-icon {\n  --mdc-icon-size: inherit !important;\n # color: var(--disabled-color);\n} .bubble-name-container {\n  margin-right: 0px !important;\n} .bubble-sub-button-container {\n  width: 100%;\n  justify-content: space-evenly !important;\n}   .bubble-button-background {\n  #background-color: var(--card-background-color) !important;\n} .bubble-sub-button {\n  width: 50% !important;\n  height: 50px !important;\n  #background: var(--secondary-background-color) !important;\n}            .bubble-sub-button-1 {\n  opacity: 1 !important;\n  background: var(--card-background-color) !important;\n}  .bubble-sub-button-2 {\n  opacity: 1 !important;\n  background: rgba(33,103,103,0.52) !important;\n}             .card-content {\n  width: 100%;\n  margin: 0 !important;\n}"
                            }
                          ],
                          "card_mod": {
                            "style": "ha-card {\n  background: none !important;\n}\n"
                          }
                        }
                      ],
                      "card_mod": {
                        "style": {
                          "ha-markdown $": "h1 img {\n  vertical-align: center;\n}\n",
                          ".": "ha-card {\n  background-color: transparent !important;\n  box-shadow: none !important;\n  margin-bottom: -15px;\n  margin-top: -15px;\n  text-align: start;\n}\n"
                        }
                      }
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ]
                },
                {
                  "type": "tile",
                  "entity": "light.bathroom"
                },
                {
                  "type": "tile",
                  "entity": "light.bathroom_ceiling"
                },
                {
                  "type": "tile",
                  "entity": "light.bathroom_mirror"
                }
              ]
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "tile",
                  "features_position": "bottom",
                  "vertical": false,
                  "name": "Nessie",
                  "entity": "binary_sensor.pmg_stats_nessie",
                  "hide_state": false,
                  "icon": "mdi:alpha-n-circle",
                  "icon_tap_action": {
                    "action": "perform-action",
                    "perform_action": "variable.toggle_binary_sensor",
                    "target": {
                      "entity_id": "binary_sensor.pmg_stats_nessie"
                    },
                    "data": {
                      "replace_attributes": false
                    }
                  },
                  "color": "pink"
                },
                {
                  "type": "tile",
                  "features_position": "bottom",
                  "vertical": false,
                  "name": "Lucy",
                  "entity": "binary_sensor.pmg_stats_lucy",
                  "hide_state": false,
                  "icon": "mdi:alpha-l-circle",
                  "icon_tap_action": {
                    "action": "perform-action",
                    "perform_action": "variable.toggle_binary_sensor",
                    "target": {
                      "entity_id": "binary_sensor.pmg_stats_lucy"
                    },
                    "data": {
                      "replace_attributes": false
                    }
                  },
                  "color": "primary"
                },
                {
                  "type": "custom:more-info-card",
                  "entity": "binary_sensor.pmg_stats_nessie",
                  "grid_options": {
                    "columns": 6,
                    "rows": "auto"
                  }
                },
                {
                  "type": "custom:more-info-card",
                  "entity": "binary_sensor.pmg_stats_lucy",
                  "grid_options": {
                    "columns": 6,
                    "rows": "auto"
                  }
                }
              ]
            }
          ],
          "visible": [
            {
              "user": "7088190086474bb7af04eccce73e1048"
            },
            {
              "user": "1c86c89aeb774299aa5bb5c56f4eada3"
            },
            {
              "user": "dd8da2ed051341f086805992caab5ee3"
            },
            {
              "user": "eb7be2e9e5554b78aeac4e592f79bf57"
            }
          ],
          "cards": []
        },
        {
          "type": "sections",
          "max_columns": 3,
          "icon": "mdi:pokeball",
          "path": "Pokestats",
          "sections": [
            {
              "type": "grid",
              "cards": []
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "entities",
                  "entities": [
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "name": "Pokémon GO - Statistics",
                      "button_type": "name",
                      "show_icon": true,
                      "card_layout": "large",
                      "sub_button": [],
                      "styles": ".bubble-name {\n  font-size: large !important;\n  font-style: bold !important;\n  color: var(--white-color) !important;\n  opacity: 1 !important;       \n} .bubble-icon {\n  #--mdc-icon-size: 32px    \n}\n.bubble-sub-button {\n  background:  var(--secondary-background-color)\n}\n.bubble-button-card-container {\n\n}\n.bubble-button-card {\n  background-color: none;\n}    \n.bubble-sub-button {\n  height: 42px !important;\n  width: 42px !important;\n}\n.bubble-sub-button-icon {\n  --mdc-icon-size: inherit !important;\n  color: rgba(196, 197, 194, 1.84) !important;\n}      ",
                      "show_name": true,
                      "icon": "mdi:pokeball"
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "sub_button": [
                        {
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "icon": "mdi:play",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "variable.toggle_binary_sensor",
                            "target": {
                              "entity_id": "binary_sensor.pmg_stats_lucy"
                            },
                            "data": {}
                          },
                          "show_state": false,
                          "show_attribute": false,
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "binary_sensor.pmg_stats_lucy",
                              "state": "off"
                            }
                          ],
                          "name": "Start Session",
                          "show_name": false,
                          "state_background": true,
                          "show_background": true
                        },
                        {
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "icon": "mdi:stop",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "variable.toggle_binary_sensor",
                            "target": {
                              "entity_id": "binary_sensor.pmg_stats_lucy"
                            },
                            "data": {
                              "replace_attributes": false
                            }
                          },
                          "show_state": false,
                          "show_attribute": false,
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "binary_sensor.pmg_stats_lucy",
                              "state": "on"
                            }
                          ],
                          "name": "Stop Session",
                          "show_name": false,
                          "state_background": true,
                          "show_background": true
                        }
                      ],
                      "button_type": "state",
                      "icon": "mdi:alpha-l-circle",
                      "show_attribute": true,
                      "name": "Lucy",
                      "card_layout": "large",
                      "styles": ".bubble-sub-button-icon {\n  --mdc-icon-size: 18px !important;\n}\n.bubble-sub-button {\n  background-color: ${hass.states['binary_sensor.pmg_stats_lucy'].state==='off' ? 'var(--teal-color)' : 'red'};\n}\n${card.querySelector('.bubble-name').innerText='Lucy: ' + (hass.states['binary_sensor.pmg_stats_lucy'].state==='off' ? 'Inactive' : 'Active')}\n",
                      "show_last_changed": false,
                      "show_state": false
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #7815f1 !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.Catched)+' Poké'  \n};\n${card.querySelector('.bubble-state').innerText='Catched'};          ",
                          "icon": "mdi:pokeball",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: red !important;\n   opacity: 0.85 !important;\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Escaped + ' Poké'};\n${card.querySelector('.bubble-state').innerText='Escaped'};          ",
                          "icon": "mdi:run-fast",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ff83fc !important;\n   opacity: 1 !important;\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.CatchRatio};\n${card.querySelector('.bubble-state').innerText='Catch/Esc'};          ",
                          "icon": "mdi:percent",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #0abcff !important;\n\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Spins + ' Stops'};\n${card.querySelector('.bubble-state').innerText='spinned'};          ",
                          "icon": "mdi:pokemon-go",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ffde3d !important;\n\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Items + ' Items'};\n${card.querySelector('.bubble-state').innerText='looted'};          ",
                          "icon": "mdi:treasure-chest",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #1ae11e !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.ItemRatio) + ' Items'  \n};\n${card.querySelector('.bubble-state').innerText='per Spin'};          ",
                          "icon": "mdi:chart-timeline-variant-shimmer",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true,
                          "rows": "1"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: white !important;\n  \n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Duration +' Min.'};\n${card.querySelector('.bubble-state').innerText='Duration'};          ",
                          "icon": "mdi:clock-fast",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #11c8aa !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.CatchRatio)+' Poké'  \n};\n${card.querySelector('.bubble-state').innerText='per Min.'};          ",
                          "icon": "mdi:timer-marker-outline",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_lucy",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ffde3d !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.SpinRate + ' Spins'};\n${card.querySelector('.bubble-state').innerText='per Min.'};          ",
                          "icon": "mdi:sack-percent",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "0px -4px -8px -4px",
                        "padding": "0 0 0 0"
                      }
                    },
                    {
                      "type": "custom:bubble-card",
                      "card_type": "separator",
                      "sub_button": [
                        {
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "icon": "mdi:play",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "variable.toggle_binary_sensor",
                            "target": {
                              "entity_id": "binary_sensor.pmg_stats_nessie"
                            },
                            "data": {}
                          },
                          "show_state": false,
                          "show_attribute": false,
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "binary_sensor.pmg_stats_nessie",
                              "state": "off"
                            }
                          ],
                          "name": "Start Session",
                          "show_name": false,
                          "state_background": true,
                          "show_background": true
                        },
                        {
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "icon": "mdi:stop",
                          "tap_action": {
                            "action": "perform-action",
                            "perform_action": "variable.toggle_binary_sensor",
                            "target": {
                              "entity_id": "binary_sensor.pmg_stats_nessie"
                            },
                            "data": {
                              "replace_attributes": false
                            }
                          },
                          "show_state": false,
                          "show_attribute": false,
                          "visibility": [
                            {
                              "condition": "state",
                              "entity": "binary_sensor.pmg_stats_nessie",
                              "state": "on"
                            }
                          ],
                          "name": "Stop Session",
                          "show_name": false,
                          "state_background": true,
                          "show_background": true
                        }
                      ],
                      "button_type": "state",
                      "icon": "mdi:alpha-n-circle",
                      "show_attribute": true,
                      "name": "Nessie",
                      "card_layout": "large",
                      "styles": ".bubble-sub-button-icon {\n  --mdc-icon-size: 18px !important;\n}\n.bubble-sub-button {\n  background-color: ${hass.states['binary_sensor.pmg_stats_nessie'].state==='off' ? 'var(--teal-color)' : 'red'};\n}\n${card.querySelector('.bubble-name').innerText='Nessie: '+(hass.states['binary_sensor.pmg_stats_nessie'].state==='off' ? 'Inactive' : 'Active')+' since '+hass.states['binary_sensor.pmg_stats_nessie'].attributes.Temp.Duration +' Min.'}\n",
                      "show_last_changed": false,
                      "show_state": false
                    },
                    {
                      "type": "custom:layout-card",
                      "layout_type": "custom:grid-layout",
                      "cards": [
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #7815f1 !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.Catched)+' Poké'  \n};\n${card.querySelector('.bubble-state').innerText='Catched'};          ",
                          "icon": "mdi:pokeball",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: red !important;\n   opacity: 0.85 !important;\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Escaped + ' Poké'};\n${card.querySelector('.bubble-state').innerText='Escaped'};          ",
                          "icon": "mdi:run-fast",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ff83fc !important;\n   opacity: 1 !important;\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.CatchRatio};\n${card.querySelector('.bubble-state').innerText='Catch/Esc'};          ",
                          "icon": "mdi:percent",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #0abcff !important;\n\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Spins + ' Stops'};\n${card.querySelector('.bubble-state').innerText='spinned'};          ",
                          "icon": "mdi:pokemon-go",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ffde3d !important;\n\n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Items + ' Items'};\n${card.querySelector('.bubble-state').innerText='looted'};          ",
                          "icon": "mdi:treasure-chest",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #1ae11e !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.ItemRatio) + ' Items'  \n};\n${card.querySelector('.bubble-state').innerText='per Spin'};          ",
                          "icon": "mdi:chart-timeline-variant-shimmer",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true,
                          "rows": "1"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: white !important;\n  \n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.Duration +' Min.'};\n${card.querySelector('.bubble-state').innerText='Duration'};          ",
                          "icon": "mdi:clock-fast",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "card_layout": "large",
                          "show_state": true,
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--white-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n  #background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #11c8aa !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=Math.round(hass.states[entity].attributes.Temp.CatchRatio)+' Poké'  \n};\n${card.querySelector('.bubble-state').innerText='per Min.'};          ",
                          "icon": "mdi:timer-marker-outline",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "button_type": "state",
                          "show_attribute": true
                        },
                        {
                          "type": "custom:bubble-card",
                          "card_type": "button",
                          "tap_action": {
                            "action": "toggle"
                          },
                          "entity": "binary_sensor.pmg_stats_nessie",
                          "styles": ".bubble-name {\n  font-size: large !important;\n              width: 100% !important;\n  \n  #font-weight: thin !important;\n  color: ${state==='on' ? '' : 'var(--disabled-color)'} !important;\n}  .card-content {\n  width: 100% !important;\n  justify-content: center !important;;\n}\n\n.bubble-name-container {            \n  width: 100% !important;\n  justify-content: center !important;\n}\n\n\n} .bubble-button-card-container {\n  #background-color: ${state==='on' ? 'rgb(66, 47, 128)' : 'var(--secondary-background-color)'} !important; \n   opacity: 1 !important;\n}    .bubble-button-background {\n # background-color: rgba(87, 1, 191, 1.81) !important;\n   opacity: 0.85 !important;\n}       \n} .bubble-icon {\n   color: #ffde3d !important;\n   \n}       \n${card.querySelector('.bubble-name').innerText=hass.states[entity].attributes.Temp.SpinRate + ' Spins'};\n${card.querySelector('.bubble-state').innerText='per Min.'};          ",
                          "icon": "mdi:sack-percent",
                          "card_layout": "large",
                          "show_state": true,
                          "button_action": {
                            "hold_action": {
                              "action": "toggle"
                            }
                          },
                          "show_name": true,
                          "button_type": "state"
                        }
                      ],
                      "layout": {
                        "grid-template-columns": "33.33% 33.33% 33.33%",
                        "grid-template-rows": "auto",
                        "margin": "0px -4px -8px -4px",
                        "padding": "0 0 0 0"
                      }
                    }
                  ],
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3"
                      ]
                    }
                  ],
                  "state_color": true,
                  "grid_options": {
                    "rows": "auto",
                    "columns": "full"
                  }
                }
              ],
              "column_span": 1
            },
            {
              "type": "grid",
              "cards": [
                {
                  "type": "custom:bubble-card",
                  "card_type": "horizontal-buttons-stack",
                  "highlight_current_view": true,
                  "styles": "styles: |\n  .bubble-horizontal-buttons-stack-card-container {\n    border-style: hidden !important;\n    margin: 0px !important;\n    border-color: var(--card-background-color) !important;\n    #background-color: var(--card-background-color) !important;\n    #background-color: var(--primary-color) !important;\n  }\n  .bubble-background-color {\n    background-color: var(--primary-color) !important;\n    opacity: 0.25 !important;\n    border-style: hidden !important;\n    border-color: var(--card-background-color) !important;\n    #width: 50px !important;\n    #height: 50px !important;\n    justify-content: center !important;\n  }\n  .horizontal-buttons-stack-container {\n    border-color: var(--card-background-color) !important;\n    border-style: hidden !important;\n  }\n\n  .bubble-icon {\n  #--mdc-icon-size: 28px !important;\n  }",
                  "visibility": [
                    {
                      "condition": "user",
                      "users": [
                        "dd8da2ed051341f086805992caab5ee3",
                        "cb71643a273740a7ac63a971c62bf646"
                      ]
                    }
                  ],
                  "4_icon": "mdi:cart",
                  "4_link": "lists",
                  "3_link": "/lovelace/Cuddle-cave",
                  "3_icon": "mdi:heart",
                  "2_link": "/lovelace/lucys",
                  "2_icon": "mdi:alpha-l-circle",
                  "1_link": "/lovelace/info",
                  "1_icon": "mdi:information-slab-circle",
                  "5_link": "#kitchen-timer",
                  "5_icon": "mdi:timer-plus",
                  "6_link": "/lovelace/Pokestats",
                  "6_icon": "mdi:pokeball"
                }
              ]
            }
          ],
          "cards": [],
          "dense_section_placement": true,
          "top_margin": true,
          "header": {},
          "subview": true
        },
        {
          "type": "panel",
          "path": "rain-radar",
          "title": "Rain Radar",
          "subview": true,
          "icon": "mdi:weather-rainy",
          "cards": [
            {
              "type": "iframe",
              "url": "https://www.wetteronline.de/regenradar/nordrhein-westfalen?mode=interactive&wrf=true&wrx=51.39,6.87&wrm=10.5",
              "aspect_ratio": "110%"
            }
          ]
        },
        {
          "type": "panel",
          "subview": true,
          "path": "wled",
          "icon": "phu:light-strip",
          "cards": [
            {
              "type": "iframe",
              "url": "http://wled.local/",
              "aspect_ratio": "75%",
              "title": "http://wled.local/"
            }
          ]
        }
      ]
    }
  }
}