Advertisement
kabootles

Home Assistant Dashboard Sidebar YAML

Nov 6th, 2024 (edited)
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. sidebar:
  2. width:
  3. mobile: 0
  4. tablet: 25
  5. desktop: 20
  6. digitalClock: true
  7. digitalClockWithSeconds: false
  8. twelveHourVersion: true
  9. date: true
  10. dateFormat: dddd, MMMM DD
  11. period: false
  12. sidebarMenu:
  13. - action: navigate
  14. navigation_path: /lovelace/overview
  15. name: Overview
  16. active: true
  17. icon: mdi:view-dashboard
  18. - action: navigate
  19. navigation_path: /lovelace/lights
  20. name: Lights
  21. active: true
  22. icon: mdi:lightbulb-on
  23. - action: navigate
  24. navigation_path: /lovelace/music
  25. name: Music
  26. active: true
  27. icon: mdi:music
  28. - action: navigate
  29. navigation_path: /lovelace/calendar
  30. name: Calendar
  31. active: true
  32. icon: mdi:calendar
  33. - action: navigate
  34. navigation_path: /lovelace/security
  35. name: Security
  36. active: true
  37. icon: mdi:cctv
  38. - action: navigate
  39. navigation_path: /lovelace/system
  40. name: System
  41. active: true
  42. icon: mdi:cog
  43. bottomCard:
  44. type: custom:layout-card
  45. cardOptions:
  46. layout_type: custom:grid-layout
  47. cards:
  48. - type: custom:atomic-calendar-revive
  49. enableModeChange: true
  50. entities:
  51. - entity: calendar.holidays
  52. name: Holidays
  53. - entity: calendar.garbage_schedule
  54. name: Garbage Schedule
  55. - entity: calendar.birthdays
  56. name: Birthdays
  57. - entity: calendar.miscellaneous
  58. name: Miscellaneous
  59. defaultMode: Event
  60. hoursOnSameLine: true
  61. showMonth: false
  62. showAllDayHours: false
  63. showEventDate: true
  64. showCalendarName: false
  65. showLastCalendarWeek: false
  66. disableCalEventLink: false
  67. disableCalLocationLink: false
  68. showTimeRemaining: false
  69. showDatePerEvent: false
  70. showDate: false
  71. showLoader: false
  72. showRelativeTime: false
  73. compactMode: true
  74. showLocation: false
  75. showHours: false
  76. eventDateFormat: ddd D
  77. card_mod:
  78. style: |
  79. ha-card{
  80. box-shadow: none;
  81. border-top: 1px solid rgba(255, 255, 255, 0.2);
  82. border-radius: 0;
  83. padding: 0 !important;
  84. }
  85. ha-card .single-event-container{
  86. padding: 10px 0 !important;
  87. }
  88. ha-card .single-event-container:not(.daywrap):not(:first-child){
  89. padding-top: 0 !important;
  90. }
  91. ha-card .daywrap{
  92. border-top: 1px solid rgba(255, 255, 255, 0.2);
  93. }
  94. ha-card .event-left{
  95. width: 60px;
  96. }
  97. ha-card .single-event-container{
  98. line-height: 1.5em;
  99. }
  100. - type: conditional
  101. condition: and
  102. conditions:
  103. - condition: state
  104. entity: media_player.kabootles_spotify
  105. state_not: idle
  106. - condition: state
  107. entity: media_player.kabootles_spotify
  108. state_not: unavailable
  109. card:
  110. type: custom:bubble-card
  111. card_type: media-player
  112. entity: media_player.kabootles_spotify
  113. hide:
  114. volume_button: true
  115. power_button: true
  116. next_button: true
  117. previous_button: true
  118. hideTopMenu: true
  119. style: |
  120. :host{
  121. --sidebar-background: var(--ha-card-background,var(--card-background-color,#fff));
  122. }
  123. :host .digitalClock{
  124. font-family: sans-serif;
  125. font-weight: 500;
  126. text-align: center;
  127. }
  128. :host .date{
  129. font-size: 20px;
  130. text-align: center;
  131. }
  132. :host .bottom layout-card{
  133. width: 100%;
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement