Advertisement
Wykop

Pogoda

Dec 18th, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. type: custom:stack-in-card
  2. cards:
  3. - type: vertical-stack
  4. cards:
  5. - type: grid
  6. columns: 1
  7. square: false
  8. cards:
  9. - type: vertical-stack
  10. cards:
  11. - type: picture-entity
  12. entity: weather.openweathermap
  13. show_state: false
  14. show_name: false
  15. state_image:
  16. clear-night: /local/weather/clear-night2.png
  17. cloudy: /local/weather/cloudy.gif
  18. exceptional: /local/weather/exceptional.png
  19. fog: /local/weather/fog3.gif
  20. hail: /local/weather/hail2.gif
  21. lightning: /local/weather/lightning3.gif
  22. lightning-rainy: /local/weather/lightning-rainy.jpeg
  23. partlycloudy: /local//weather/partly-cloudy.gif
  24. pouring: /local/weather/pouring.gif
  25. rainy: /local/weather/rainy.gif
  26. snowy: /local/weather/snowy.gif
  27. snowy-rainy: /local/weather/snowy-rainy.gif
  28. sunny: /local/weather/sunny.gif
  29. windy: /local/pweather/windy.gif
  30. windy-variant: /local/weather/windy.gif
  31. tap_action:
  32. action: call-service
  33. service: script.turn_on
  34. data: {}
  35. target:
  36. entity_id: script.browser_mode_pop_up_close
  37. hold_action:
  38. action: none
  39. theme: Mushroom
  40. card_mod:
  41. style: |
  42. :host {
  43. --ha-card-background: transparent;
  44. }
  45. ha-card {
  46. margin-top: auto;
  47. margin-left: 10px;
  48. margin-right: 10px;
  49. margin-bottom: 5px;
  50. padding: 15px;
  51. width: auto;
  52. }
  53. - type: custom:weather-card
  54. entity: weather.openweathermap
  55. number_of_forecasts: '6'
  56. card_mod:
  57. style: |
  58. ha-card {
  59. background: rgba(var(--rgb-primary-background-color), 0.1);
  60. --paper-item-icon-active-color: #2196f3;
  61. --paper-item-icon-color: #6f6f6f;
  62. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement