hey there im quite new to home assistant and yaml as a whole and im havging a big of trouble adding and background to a weather card
here is the code that i have
type: weather-forecast
entity: weather.forecast_home
forecast_type: daily
show_current: true
show_forecast: true
style: |
ha-card {
background-image: url('/local/pictures/stormy-weather.jpg'); # Correct the image URL
background-size: cover; # Cover the entire card
background-position: center; # Center the image
color: white; # Optional: change the text color to make it visible on the background
}
im unsure as to why it isnt working as i have my images in the www folder in a pictures folder
i have also asked chat gpt but it hasnt been too helpful.
any help would be greatly appreciated cheers