caffeinated00

bar card

Jul 7th, 2025
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.32 KB | None | 0 0
  1. type: custom:bubble-card
  2. card_type: button
  3. button_type: switch
  4. modules:
  5. - default
  6. - sub_button_coloring
  7. entity: input_boolean.test_toggle
  8. scrolling_effect: false
  9. show_icon: false
  10. show_name: false
  11. tap_action:
  12. action: none
  13. button_action:
  14. tap_action:
  15. action: none
  16. use_accent_color: false
  17. sub_button:
  18. - icon: mdi:server-network
  19. state_background: false
  20. show_background: false
  21. tap_action:
  22. action: navigate
  23. navigation_path: /dashboard-test2/lab
  24. - entity: input_boolean.test_toggle
  25. state_background: false
  26. show_background: false
  27. icon: mdi:lightning-bolt-circle
  28. tap_action:
  29. action: navigate
  30. navigation_path: /dashboard-test2/energy
  31. - entity: input_boolean.test_toggle
  32. state_background: true
  33. show_background: false
  34. icon: mdi:home-automation
  35. tap_action:
  36. action: navigate
  37. navigation_path: "#auto"
  38. double_tap_action:
  39. action: navigate
  40. navigation_path: http://192.168.68.106:8123/dashboard-test2/lights
  41. - entity: input_boolean.test_toggle
  42. icon: m3o:devices-other
  43. show_background: false
  44. tap_action:
  45. action: navigate
  46. navigation_path: /config/integrations/dashboard
  47. double_tap_action:
  48. action: navigate
  49. navigation_path: /dashboard-test2/7
  50. - entity: input_boolean.test_toggle
  51. icon: mdi:alpha-m-circle-outline
  52. show_background: false
  53. tap_action:
  54. action: navigate
  55. navigation_path: http://192.168.68.106:8123/dashboard-test2/6
  56. double_tap_action:
  57. action: perform-action
  58. perform_action: homeassistant.restart
  59. target: {}
  60. styles: |2-
  61. .card-content {
  62. width: 90%;
  63. margin: 0 !important;
  64. }
  65. .bubble-button-card-container {
  66. background: none;
  67. border: none;
  68. }
  69. .bubble-sub-button {
  70. height: 46px !important;
  71. width: 46px !important;
  72. }
  73. .bubble-sub-button-container {
  74. display: flex !important;
  75. width: 100%;
  76. justify-content: space-between !important;
  77. }
  78. .bubble-sub-button-icon {
  79. --mdc-icon-size: inherit !important;
  80. }
  81. .bubble-name-container {
  82. margin-right: 50px !important;
  83. }
  84. card_layout: normal
  85. sub_button_coloring:
  86. button_1:
  87. entity: binary_sensor.pvecheck
  88. on_color: "' '"
  89. on_icon_color: "#F95D5D"
  90.  
Advertisement
Add Comment
Please, Sign In to add comment