caffeinated00

weather card

May 4th, 2025
1,098
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. type: vertical-stack
  2. cards:
  3. - type: vertical-stack
  4. cards:
  5. - type: custom:bubble-card
  6. card_type: button
  7. button_type: state
  8. name: l o n d o n
  9. scrolling_effect: false
  10. show_icon: true
  11. show_name: true
  12. sub_button:
  13. - show_background: false
  14. show_state: true
  15. name: temp
  16. icon: mdi:weather-cloudy
  17. double_tap_action:
  18. action: none
  19. tap_action:
  20. action: more-info
  21. show_name: true
  22. show_icon: true
  23. show_attribute: false
  24. attribute: friendly_name
  25. show_last_changed: false
  26. entity: sensor.pirate_weather_current_temperature
  27. - name: RAM
  28. show_background: false
  29. show_name: true
  30. show_state: true
  31. show_attribute: true
  32. icon: m3o:memory
  33. entity: sensor.localhost_memory_usage
  34. - entity: sensor.u_s_air_quality_index
  35. name: AQI
  36. show_icon: false
  37. show_state: true
  38. show_background: false
  39. show_name: true
  40. - entity: sensor.la_casa_colorado_usa_humidity
  41. show_icon: true
  42. show_state: true
  43. icon: mdi:water-opacity
  44. show_background: false
  45. card_layout: large-2-rows
  46. entity: weather.pirateweather
  47. styles: |-
  48. .bubble-button-card-container {
  49. background: none;
  50. margin-left: 2px;
  51. }
  52. .bubble-icon-container {
  53. background: none;
  54. border-radius: 0;
  55. --mdc-icon-size: 35px !important;
  56.  
  57. }
  58. .bubble-sub-button {
  59. font-size: 12px !important;
  60. #margin-right: -16px;
  61.  
  62. }
  63. .bubble-sub-button-3 {
  64. background-color: ${hass.states['sensor.u_s_air_quality_index'].state > 50 ? '#E6ABAB' : ''} !important;
  65. }
  66. show_attribute: true
  67. attribute: apparent_temperature
  68. button_action:
  69. tap_action:
  70. action: more-info
  71. double_tap_action:
  72. action: none
  73. hold_action:
  74. action: none
  75. tap_action:
  76. action: more-info
  77. double_tap_action:
  78. action: none
  79. hold_action:
  80. action: none
  81. modules:
  82. - default
  83.  
Advertisement
Add Comment
Please, Sign In to add comment