caffeinated00

Scrypted popup example

Jan 24th, 2025
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.27 KB | None | 0 0
  1. type: vertical-stack
  2. cards:
  3. - type: custom:bubble-card
  4. card_type: pop-up
  5. hash: "#scrypted"
  6. backdrop_blur: "0"
  7. shadow_opacity: "10"
  8. name: Scrypted's usage
  9. icon: mdi:server-network-outline
  10. bg_opacity: "10"
  11. bg_blur: "8"
  12. margin_top_desktop: 40vh
  13. margin_top_mobile: 40vh
  14. styles: |
  15. .bubble-button-background {
  16. opacity: 0.8;
  17. background-color: #7A7691 !important; /* usage background color */
  18. box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6); /* Example shadow */
  19. }
  20. .bubble-button-card-container {
  21. color: #E6EAEA; /* main name text color, whiteish */
  22. }
  23. .bubble-icon-container {
  24. #background: #E6EAEA;
  25. color: #7A7691; /* main icon color */
  26. }
  27. - type: custom:bubble-card
  28. card_type: empty-column
  29. name: Main info
  30. - type: horizontal-stack
  31. cards:
  32. - type: custom:mini-graph-card
  33. entities:
  34. - entity: sensor.lxc_scrypted_103_memory_used_percentage
  35. color: "#7A7691"
  36. name: RAM
  37. hours_to_show: 168
  38. aggregate_func: max
  39. group_by: date
  40. font_size: 60
  41. bar_spacing: 25
  42. show:
  43. graph: bar
  44. name: true
  45. legend: true
  46. icon: true
  47. icon_adaptive_color: true
  48. - type: custom:mini-graph-card
  49. entities:
  50. - entity: sensor.lxc_scrypted_103_cpu_used
  51. name: CPU
  52. hours_to_show: 168
  53. aggregate_func: max
  54. font_size: 60
  55. group_by: date
  56. line_color: "#7A7691"
  57. line_width: 6
  58. smoothing: false
  59. show:
  60. labels: false
  61. labels_secondary: false
  62. icon: true
  63. name: true
  64. points: true
  65. icon_adaptive_color: true
  66. - type: custom:mini-graph-card
  67. entities:
  68. - entity: sensor.lxc_scrypted_103_disk_used_percentage
  69. name: Disk
  70. hours_to_show: 24
  71. aggregate_func: max
  72. font_size: 60
  73. line_color: "#7A7691"
  74. line_width: 6
  75. smoothing: false
  76. show:
  77. labels: false
  78. labels_secondary: false
  79. icon: true
  80. name: true
  81. points: true
  82. icon_adaptive_color: true
  83.  
Advertisement
Add Comment
Please, Sign In to add comment