r-renato / ha-climacell-weather

Climacell weather provider integration is a custom component for Home Assistant. The climacell platform uses the Climacell API as a source for meteorological data for your location.
MIT License
46 stars 10 forks source link

supported monitored conditions in other units except metric and royal #30

Open kegra opened 3 years ago

kegra commented 3 years ago

hi thanks for your great component, can you somehow incorporate the other units option per monitored condition? Since the API supports asking for a monitored condition to be returned using different units than metric or royal this should be doable if you like to incorporate it.

from the reference docs https://developer.climacell.co/v3/reference#formats Unit System

We support Metric and Royal unit systems, amongst additional units as well as both public and proprietary weather condition indexing.

Note Regardless of the units chosen in the request, you may change the units of each data layer by adding the relevant suffix. For example, if you request /daily data in SI units, you can add the field precipitation:in/hr thereby overriding the original units (mm/hr).

eg for wind the other units support km/h

thank you.