Basically, I want to know when I leave the house in the morning whether I need to take an umbrella with me to work or not, or whether thunderstorms are to be expected.
Since the change in Weather (weather.get_forecasts service) and the update to OpenWeatherMap API V3.0, I can no longer get an entity to show me today’s forecast condition as an entity.
I receive this response (see image). I would now like to have only the condition for today (shown in green) as a separate entity (that I can show for example on a display).
however if you really want to set it to another entity (like an input_text?)
then in your yaml, this is the part you need which should have the forecast as a string in this template:
@styphonthal is right. Sorry for my miss above. I corrected it.
Also the trigger is set for hourly, so it may stay unknown until the top of the hour. If you want to test it, change the hours trigger to minutes… Just for testing
Possibly because you put armedad’s example into the sensor: section of your configuration.yaml file. That’s not where it belongs. It should go into the template: section
I highly recommend you review the documentation for the Template integration and then you’ll understand why adding platform: template to a Trigger-based Template Sensor is invalid.
those other errors look quite unrelated to this. so either they were there before, or while you were adding/remove sections of your configuration.yaml, you accidentally inserted an error or something like that.
if this is working now for you i’d recommend you close out this thread (please mark my post above that has the working code as “solution” if you would) and start a new thread with these errors if you can’t figure it out.