yeah I did consider that but for the life of me I could not find a list of the standard conditions.
You would have thought that might be documented in the weather template documentation?
I may well do that but that page needs a hell of a lot more than that one edit.
For example, the hourly, daily and twice daily forecast attributes are completely devoid of any guidance of what is actually needed to make it work.
Given how new this template is I cannot believe it got through any of the approval processes.
I’ve actually moved on now anyway, I pretty much gave up with constructing my own weather template. It seemed like a lot of trouble for not much gain
And while I’m at it, why is humidity a required field? To my mind that is one of the least used/interesting weather measures; at least it is in the temperate region I live in.
Tells you it needs to be a dictionary in the main template docs with a link to all dictionary values.
And the link references “mapping” which is another way to describe a dictionary, and shows all the values.
I’m not going to replicate that information in the template documentation when a link to it works. It just seems like you didn’t look at the link.
As for why humidiy is required: I don’t know, it’s a requirement of weather entities in HA, so it was forced that way in template weather implementation.
As a sidebar, I’m also not happy with how template weather was implemented. From a code standpoint it was clearly rushed through without much thought. I’ve fixed it up to be on-par with all the other platforms for templates so it’s behavior is more predictable. The documentation was also fast tracked when it was originally added and the configuration option descriptions are rather lacking and need updates. However the forecast documentation was updated at some point in the past year.
It’s been approved by Frenck. It all happened in about 20 minutes from start to finish.
It felt like he had been reading this thread and was waiting for my edit