Advertisement
lanapaste

Dashboard

Mar 5th, 2025
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 9.58 KB | Source Code | 0 0
  1. title: home
  2. layout_type: grid
  3. cards:
  4.   - type: vertical-stack
  5.     cards:
  6.       - type: horizontal-stack
  7.         cards:
  8.           - type: custom:mushroom-person-card
  9.             entity: person.ana
  10.             icon: mdi:account
  11.             name: Ana
  12.             device_trackers:
  13.              - device_tracker.pixel_7_pro_2
  14.             use_entity_picture: true
  15.             show_state: true
  16.             layout: vertical
  17.             card_mod:
  18.               style: |
  19.                ha-card {
  20.                   border: 3px solid {% if states('person.ana') == 'home' %} green {% else %} red {% endif %};
  21.                   border-radius: 15px;
  22.                 }
  23.           - type: custom:mushroom-person-card
  24.             entity: person.leigh
  25.             icon: mdi:account
  26.             name: Leigh
  27.             device_trackers:
  28.              - device_tracker.sm_n986b
  29.             use_entity_picture: true
  30.             show_state: true
  31.             layout: vertical
  32.             card_mod:
  33.               style: |
  34.                ha-card {
  35.                   border: 3px solid {% if states('person.leigh') == 'home' %} green {% else %} red {% endif %};
  36.                   border-radius: 15px;
  37.                 }
  38.           - type: custom:mushroom-person-card
  39.             entity: person.grayson
  40.             icon: mdi:account
  41.             name: Grayson
  42.             use_entity_picture: true
  43.             show_state: true
  44.             layout: vertical
  45.             card_mod:
  46.               style: |
  47.                ha-card {
  48.                   border: 3px solid {% if states('person.grayson') == 'home' %} green {% else %} red {% endif %};
  49.                   border-radius: 15px;
  50.                 }
  51.           - type: custom:mushroom-person-card
  52.             entity: person.scarlett
  53.             icon: mdi:account
  54.             name: Scarlett
  55.             use_entity_picture: true
  56.             show_state: true
  57.             layout: vertical
  58.             card_mod:
  59.               style: |
  60.                ha-card {
  61.                   border: 3px solid {% if states('person.scarlett') == 'home' %} green {% else %} red {% endif %};
  62.                   border-radius: 15px;
  63.                 }
  64.       - type: custom:mushroom-title-card
  65.         title: >
  66.          {% set hour = now().hour -%}
  67.           {%- if hour < 12 -%}Good Morning
  68.           {%- elif hour < 18 -%}Good Afternoon
  69.           {%- else -%}Good Evening
  70.           {%- endif -%},  
  71.           {%- set last_person = states('sensor.last_person_home') -%}
  72.           {%- if last_person not in ['unknown', '', None] and states(last_person) == 'home' -%}
  73.             {{ last_person }}
  74.           {%- else -%}
  75.             Wolf Family
  76.           {%- endif %}
  77.         subtitle: Wolfden Smart Home
  78.       - type: custom:mushroom-chips-card
  79.         alignment: center
  80.         chips:
  81.           - type: weather
  82.             entity: weather.home
  83.             show_temperature: true
  84.             show_conditions: true
  85.           - type: entity
  86.             entity: sensor.sun_next_setting
  87.             icon: mdi:weather-sunset-down
  88.           - type: entity
  89.             entity: sensor.sun_next_rising
  90.             icon: mdi:weather-sunset-up
  91.           - type: entity
  92.             entity: sensor.bertalstreet_temperature
  93.             icon: mdi:thermometer
  94.           - type: entity
  95.             entity: sensor.bertalstreet_humidity
  96.             icon: mdi:water-percent
  97.   - type: custom:weather-card
  98.     entity: weather.forecast_home
  99.     title: Weather Forecast
  100.   - type: custom:layout-card
  101.     layout_type: grid
  102.     layout: null
  103.     grid-template-columns: repeat(2, 1fr)
  104.     grid-template-rows: auto
  105.     grid-gap: 10px
  106.   - type: custom:mushroom-light-card
  107.     entity: light.bedroom
  108.     icon: mdi:bed
  109.     name: Bedroom
  110.     secondary_info: state
  111.     use_light_color: true
  112.     tap_action: null
  113.     action: call-service
  114.     service: browser_mod.popup
  115.     service_data: null
  116.     title: Bedroom Light
  117.     card:
  118.       type: custom:mushroom-light-card
  119.       entity: light.bedroom
  120.       show_brightness_control: true
  121.       show_color_control: true
  122.       collapsible_controls: true
  123.       large: true
  124.   - type: custom:mushroom-light-card
  125.     entity: light.garage
  126.     icon: mdi:garage
  127.     name: Garage
  128.     secondary_info: state
  129.     use_light_color: true
  130.     tap_action: null
  131.     action: call-service
  132.     service: browser_mod.popup
  133.     service_data: null
  134.     title: Garage Light
  135.     card:
  136.       type: custom:mushroom-light-card
  137.       entity: light.garage
  138.       show_brightness_control: true
  139.       show_color_control: true
  140.       collapsible_controls: true
  141.       large: true
  142.   - type: custom:mushroom-light-card
  143.     entity: light.ald563ha
  144.     icon: mdi:led-strip
  145.     name: Lounge
  146.     secondary_info: state
  147.     use_light_color: true
  148.     tap_action: null
  149.     action: call-service
  150.     service: browser_mod.popup
  151.     service_data: null
  152.     title: Lounge Light
  153.     card:
  154.       type: custom:mushroom-light-card
  155.       entity: light.ald563ha
  156.       show_brightness_control: true
  157.       show_color_control: true
  158.       collapsible_controls: true
  159.       large: true
  160.   - type: custom:mushroom-light-card
  161.     entity: light.graysons_bedroom
  162.     icon: mdi:account-child
  163.     name: Grayson's Room
  164.     secondary_info: state
  165.     use_light_color: true
  166.     tap_action: null
  167.     action: call-service
  168.     service: browser_mod.popup
  169.     service_data: null
  170.     title: Grayson's Room Light
  171.     card:
  172.       type: custom:mushroom-light-card
  173.       entity: light.graysons_bedroom
  174.       show_brightness_control: true
  175.       show_color_control: true
  176.       collapsible_controls: true
  177.       large: true
  178.   - type: custom:mushroom-title-card
  179.     title: Media Control
  180.   - type: custom:layout-card
  181.     layout_type: grid
  182.     layout:
  183.       grid-template-columns: repeat(2, 1fr)
  184.       grid-template-rows: auto
  185.       grid-gap: 10px
  186.   - type: custom:mini-media-player
  187.     entity: media_player.grayson
  188.     name: Grayson's Speaker
  189.     icon: mdi:speaker-wireless
  190.     artwork: cover
  191.     source: icon
  192.     sound_mode: icon
  193.     info: scroll
  194.     volume_stateless: false
  195.     toggle_power: true
  196.   - type: custom:mini-media-player
  197.     entity: media_player.lounge
  198.     name: Lounge Speaker
  199.     icon: mdi:speaker-wireless
  200.     artwork: cover
  201.     source: icon
  202.     sound_mode: icon
  203.     info: scroll
  204.     volume_stateless: false
  205.     toggle_power: true
  206.   - type: custom:mini-media-player
  207.     entity: media_player.bedroom
  208.     name: Bedroom Speaker
  209.     icon: mdi:speaker-wireless
  210.     artwork: cover
  211.     source: icon
  212.     sound_mode: icon
  213.     info: scroll
  214.     volume_stateless: false
  215.     toggle_power: true
  216.   - type: custom:mini-media-player
  217.     entity: media_player.kitchen
  218.     name: Kitchen Speaker
  219.     icon: mdi:speaker-wireless
  220.     artwork: cover
  221.     source: icon
  222.     sound_mode: icon
  223.     info: scroll
  224.     volume_stateless: false
  225.     toggle_power: true
  226.   - type: custom:mini-media-player
  227.     entity: media_player.scarlett
  228.     name: Scarlett's Speaker
  229.     icon: mdi:speaker-wireless
  230.     artwork: cover
  231.     source: icon
  232.     sound_mode: icon
  233.     info: scroll
  234.     volume_stateless: false
  235.     toggle_power: true
  236.   - type: custom:upcoming-media-card
  237.     title: Recently Added on Plex
  238.     entity: sensor.lanaplex_plex_recently_added
  239.   - type: custom:atomic-calendar-revive    
  240.     title: Calendars & Tasks
  241.     alignment: center
  242.     entities:
  243.      - calendar.
  244.       - calendar.
  245.       - calendar.baw_baw_shire_council
  246.       - calendar.
  247.       - calendar.
  248.     showWeekNumber: true
  249.     maxEventDays: 7
  250.     showLocation: true
  251.     refreshInterval: 60
  252.   - type: custom:mushroom-chips-card
  253.     title: Shopping List
  254.     chips: null
  255.   - type: todo-list
  256.     entity: todo.my_shopping_list
  257.     title: Todo List
  258.   - type: custom:mushroom-title-card
  259.     title: Quick Controls
  260.   - type: custom:button-card
  261.     entity: switch.automation_wake_up_1
  262.     name: Wake Up Routine
  263.     icon: mdi:alarm
  264.     size: 15%
  265.     styles:
  266.       card:
  267.         - height: 60px
  268.       grid:
  269.         - grid-template-areas: '"i n s"'
  270.         - grid-template-columns: 15% auto 10%
  271.         - grid-template-rows: min-content
  272.       icon:
  273.         - width: 25px
  274.         - height: 25px
  275.   - type: custom:button-card
  276.     entity: switch.automation_routine_1
  277.     name: Morning Routine
  278.     icon: mdi:coffee
  279.     size: 15%
  280.     styles:
  281.       card:
  282.         - height: 60px
  283.       grid:
  284.         - grid-template-areas: '"i n s"'
  285.         - grid-template-columns: 15% auto 10%
  286.         - grid-template-rows: min-content
  287.       icon:
  288.         - width: 25px
  289.         - height: 25px
  290.   - type: custom:button-card
  291.     entity: switch.automation_leaving_home
  292.     name: Leaving Home
  293.     icon: mdi:exit-run
  294.     size: 15%
  295.     styles:
  296.       card:
  297.         - height: 60px
  298.       grid:
  299.         - grid-template-areas: '"i n s"'
  300.         - grid-template-columns: 15% auto 10%
  301.         - grid-template-rows: min-content
  302.       icon:
  303.         - width: 25px
  304.         - height: 25px
  305.   - type: custom:button-card
  306.     entity: switch.automation_coming_home
  307.     name: Coming Home
  308.     icon: mdi:home-import-outline
  309.     size: 15%
  310.     styles:
  311.       card:
  312.         - height: 60px
  313.       grid:
  314.         - grid-template-areas: '"i n s"'
  315.         - grid-template-columns: 15% auto 10%
  316.         - grid-template-rows: min-content
  317.       icon:
  318.         - width: 25px
  319.         - height: 25px
  320.   - type: media-control
  321.     entity: media_player.spotify_mr_lobos
  322.     icon: mdi:home
  323.   - type: button
  324.     entity: input_boolean.cast_button
  325.     name: "Cast Home"
  326.     icon: mdi:cast
  327.     tap_action:
  328.      action: call-service
  329.      service: input_boolean.turn_on
  330.      target:
  331.       entity_id: input_boolean.cast_button
  332.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement