Why are you calling for a forecast from the weather service weather.weather_hometown but trying to access a response from a different weather service weather.weather_meteo_swiss?
Because I want to use it as data source for elements on dashboards (which support only one entity as source). I want to show the forecast for my hometown combined with data (e.g. current temperature) from my own sensors.
Make sure you are using the correct action weather.get_forecasts
Your template weather entity should be using the entity ID of the template sensors not Meteo weather for forecast_daily_template and forecast_hourly_template. The forecast attribute for weather entities was remove 10 months ago, so {{ state_attr('weather.weather_meteo_swiss', 'forecast') }} will return nothing.
That’s simply not how programming works. You cannot ask HASS to get a forecast from one weather service (the one you’ve defined yourself) but then try to access a response from a completely different service. And since your own weather service is not correctly setup to generate a forecast, well the response you’re getting will be empty…
I’m trying to pass the query for a forecast to my weather service on to another weather service that has that information… Something like inheritance in programming…
On my dashboard I want to show a weather-card (weather-chart-card)
I want it to use the weather-data from a local weather-service (MeteoSwiss)
As I measure the current temperature outside my house I want to show the measured temperature instead of the temperature I get from the weather-service in the card on the dashboard.
So - the same idea as described here: Template Weather Provider - Home Assistant
But if I do it according to this description the card obviuously can’t show any forecasts.
Completely untested, I have no idea whatsoever if this works or not, but from reading the documentation this is my understanding of how it should be done: