Could the bundled OpenWeatherMap driver be altered to provide the "pressureMeasurement" capability? It would also be nice if the HE had some kind of units query for capabilities with ambiguous units.
Thanks!
Could the bundled OpenWeatherMap driver be altered to provide the "pressureMeasurement" capability? It would also be nice if the HE had some kind of units query for capabilities with ambiguous units.
Thanks!
Yes, I'll create a ticket for that.
The event includes the unit, in the openweathermap driver pressure is in "hPa"
Thanks for getting a ticket created on the "pressureMeasurement"! I really appreciate it.
And thanks for the info on units being included in the event. What I'm trying to do at the moment is pull the value from the device state during the configuration (meaning I can't guarantee that an event will fire during this time); is there a way to pull the last event associated with a specific state attribute? From everything I've seen I could pull all device events, or a subset of device events based on the date, or a limited number of device events but I can't be sure that that will return an appropriate event to allow me to find the units.
Thank you so much!
no, there is no way to do this at this time.
Thanks, @chuck.schwer. That's what I figured. Given that, I'll restate my original "nice to have" as:
It would also be nice if the HE had a way to query the units of capabilities when working directly with state values (rather than through the events api).
Hope you are having a good week,
Matt
-edited because grammar is a thing