Hi
I previously had a trigger that fired when the lowest temperature of the day ways <10 . That weather api seems the be gone now and the new forecast one has taken over. How can I get such a condition again?
I basically want to know if the temperature during night is < 10°C to send me a notification when a window is open.
I check that at 21:00, so if there is a way to say "get me the temperature 6h from now", "lowest temperature of the day", or something like this, this would be enough
#Trigger condition: Temperature during night
29 messages · Page 1 of 1 (latest)
Hi @wraith light,
That has to be a forecast and an oddly specific one. Maybe you can grab the forested low for that night, or see what your whether service has available that you are using.
would be perfectly fine. I basically just want to know "is it going to be cold?"
But I cannot find such an attribute with the "forecast home" entity
I am currently trying to get the lowest temperature of the forecast via Template, but I cannot get this to work.
{{ (state_attr('weather.forecast_home', 'forecast')| map(attribute='temperature') | min) }}
Forecast is no longer an attribute. There is an action to get it. Some weather places just offer sensors for a lot of things instead, so look for a sensor for low temp tomorrow, or try something like accuweather or another.
in the "actions" tab I can see that there is a "get forecasts" which will send me all the hourly forecasts, but I cannot find a way to access that in the "template" section.
Look in an entities list and see if there is an entity for tomorrows low or whatever it's worded as.
you mean by pressing e ? There is only the weather.forecast_home. Which would also contain the info I need:
but again, I have no clue how to get that data into the template
or in a simple condition "object"
I can get the current temp via {{ state_attr('weather.forecast_home','temperature') }}
but I dont knwo how to get that hourly forecast
The UI stuff is too confusing and complicated for me. Most odf the caoomands are not there.
I would go into developer tab, entities, and that is a list of entities. If you find one you like, copy the name and put it into wharever you want.
For building yaml and templates I use Code Server and the names just opo up for me.
The one that's underlined is a list of your entities.
ok but there is nothing in there that would match this
So the second half of my original statement says you may have to find a differect service that has what you want...
#1287127188075974757 message
had OpenWeatherMap initially but they changed the API and removed this feature somehow
I think I have helped (or confused) you enough here. If someone else can walk you thru the get_forcast thing that I don't use, then they may be able to help you better.
thanks anyways 🙂