caffeinated00

horizontal row of sub-buttons

May 2nd, 2025
1,121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. type: custom:bubble-card
  2. card_type: button
  3. card_layout: large
  4. button_type: name
  5. show_icon: false
  6. show_name: false
  7. sub_button:
  8. - name: Mute
  9. icon: mdi:volume-off
  10. tap_action:
  11. action: toggle
  12. service: input_boolean.toggle
  13. entity: input_boolean.silent_mode
  14. - name: Covers
  15. entity: cover.all_group
  16. show_background: false
  17. tap_action:
  18. action: navigate
  19. navigation_path: '#cover'
  20. - name: Shopping list
  21. icon: mdi:cart-outline
  22. show_background: false
  23. tap_action:
  24. action: navigate
  25. navigation_path: '#shopping-list'
  26. - name: Security
  27. icon: mdi:video-outline
  28. show_background: false
  29. tap_action:
  30. action: navigate
  31. navigation_path: '#security'
  32. - name: Settings
  33. icon: mdi:cog
  34. show_background: false
  35. tap_action:
  36. action: navigate
  37. navigation_path: '#configuration'
  38. styles: |
  39. .card-content {
  40. width: 100%;
  41. margin: 0 !important;
  42. }
  43. .bubble-button-card-container {
  44. background: none;
  45. border: none;
  46. }
  47. .bubble-sub-button {
  48. height: 46px !important;
  49. width: 46px !important;
  50. }
  51. .bubble-sub-button-container {
  52. display: flex !important;
  53. width: 100%;
  54. justify-content: space-between !important;
  55. }
  56. .bubble-sub-button-icon {
  57. --mdc-icon-size: inherit !important;
  58. }
  59. .bubble-name-container {
  60. margin-right: 0px !important;
  61. }
Advertisement
Add Comment
Please, Sign In to add comment