[openweathermap] Added support for Air Pollution API (#10343)
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This commit is contained in:
committed by
GitHub
parent
1fa1f54272
commit
b1e48e0db9
@@ -101,6 +101,19 @@
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:openweathermap:air-pollution">
|
||||
<parameter name="location" type="text" required="true">
|
||||
<context>location</context>
|
||||
<label>Location of Weather</label>
|
||||
<description>Location of weather in geographical coordinates (latitude/longitude/altitude).</description>
|
||||
</parameter>
|
||||
<parameter name="forecastHours" type="integer" min="0" max="120" step="1">
|
||||
<label>Number of Hours</label>
|
||||
<description>Number of hours for air pollution forecast.</description>
|
||||
<default>0</default>
|
||||
</parameter>
|
||||
</config-description>
|
||||
|
||||
<config-description uri="thing-type:openweathermap:onecall">
|
||||
<parameter name="location" type="text" required="true">
|
||||
<context>location</context>
|
||||
|
||||
@@ -69,6 +69,9 @@ thing-type.openweathermap.weather-and-forecast.description = Erm
|
||||
thing-type.openweathermap.uvindex.label = UV-Index
|
||||
thing-type.openweathermap.uvindex.description = Ermöglicht die Anzeige des aktuellen UV-Index.
|
||||
|
||||
thing-type.openweathermap.air-pollution.label = Luftqualität
|
||||
thing-type.openweathermap.air-pollution.description = Ermöglicht die Anzeige der aktuellen Luftqualität.
|
||||
|
||||
# thing types config
|
||||
thing-type.config.openweathermap.weather-and-forecast.location.label = Ort der Wetterdaten
|
||||
thing-type.config.openweathermap.weather-and-forecast.location.description = Ort der Wetterdaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).
|
||||
@@ -85,6 +88,12 @@ thing-type.config.openweathermap.uvindex.location.description = Ort der Wetterda
|
||||
thing-type.config.openweathermap.uvindex.forecastDays.label = Tage
|
||||
thing-type.config.openweathermap.uvindex.forecastDays.description = Anzahl der Tage für die UV-Index Vorhersage.
|
||||
|
||||
thing-type.config.openweathermap.air-pollution.location.label = Ort der Wetterdaten
|
||||
thing-type.config.openweathermap.air-pollution.location.description = Ort der Wetterdaten in geographischen Koordinaten (Breitengrad/Längengrad/Höhe).
|
||||
|
||||
thing-type.config.openweathermap.air-pollution.forecastHours.label = Stunden
|
||||
thing-type.config.openweathermap.air-pollution.forecastHours.description = Anzahl der Stunden für die Vorhersage der Luftqualität.
|
||||
|
||||
# channel group types
|
||||
channel-group-type.openweathermap.station.label = Wetterstation
|
||||
channel-group-type.openweathermap.station.description = Fasst Daten über die Wetterstation oder den Ort zusammen.
|
||||
@@ -104,6 +113,12 @@ channel-group-type.openweathermap.uvindex.description = Fasst aktuelle UV-Index
|
||||
channel-group-type.openweathermap.uvindexForecast.label = UV-Index Vorhersage
|
||||
channel-group-type.openweathermap.uvindexForecast.description = Fasst Daten der UV-Index Vorhersage zusammen.
|
||||
|
||||
channel-group-type.openweathermap.airPollution.label = Aktuelle Luftqualität
|
||||
channel-group-type.openweathermap.airPollution.description = Fasst Daten über die aktuelle Luftqualität zusammen.
|
||||
|
||||
channel-group-type.openweathermap.airPollutionForecast.label = Vorhersage der Luftqualität
|
||||
channel-group-type.openweathermap.airPollutionForecast.description = Fasst Daten über die vorhergesagte Luftqualität zusammen.
|
||||
|
||||
# channel groups
|
||||
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.label = Wettervorhersage für 3 Stunden
|
||||
thing-type.openweathermap.weather-and-forecast.group.forecastHours03.description = Fasst Daten der Wettervorhersage in den nächsten drei Stunden zusammen.
|
||||
@@ -184,6 +199,14 @@ channel-type.openweathermap.daily-forecast-time-stamp.label = Vorhersage Datum
|
||||
channel-type.openweathermap.daily-forecast-time-stamp.description = Zeigt das Datum der Vorhersage an.
|
||||
channel-type.openweathermap.daily-forecast-time-stamp.state.pattern = %1$td.%1$tm.%1$tY
|
||||
|
||||
channel-type.openweathermap.sunrise.label = Sonnenaufgang
|
||||
channel-type.openweathermap.sunrise.description = Zeigt den Zeitpunkt des Sonnenaufgangs an.
|
||||
channel-type.openweathermap.sunrise.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS
|
||||
|
||||
channel-type.openweathermap.sunset.label = Sonnenuntergang
|
||||
channel-type.openweathermap.sunset.description = Zeigt den Zeitpunkt des Sonnenuntergangs an.
|
||||
channel-type.openweathermap.sunset.state.pattern = %1$td.%1$tm.%1$tY %1$tH:%1$tM:%1$tS
|
||||
|
||||
channel-type.openweathermap.condition.label = Wetterlage
|
||||
channel-type.openweathermap.condition.description = Zeigt die aktuelle Wetterlage an.
|
||||
|
||||
@@ -253,12 +276,79 @@ channel-type.openweathermap.snow.description = Zeigt den kumulierten Schnee der
|
||||
channel-type.openweathermap.forecasted-snow.label = Vorhergesagter Schnee
|
||||
channel-type.openweathermap.forecasted-snow.description = Zeigt die vorhergesagte Schneemenge an.
|
||||
|
||||
channel-type.openweathermap.precip-probability.label = Vorhergesagte Niederschlagswahrscheinlichkeit
|
||||
channel-type.openweathermap.precip-probability.description = Zeigt die vorhergesagte Niederschlagswahrscheinlichkeit an.
|
||||
|
||||
channel-type.openweathermap.uvindex.label = UV-Index
|
||||
channel-type.openweathermap.uvindex.description = Zeigt den aktuellen UV-Index an.
|
||||
|
||||
channel-type.openweathermap.forecasted-uvindex.label = Vorhergesagter UV-Index
|
||||
channel-type.openweathermap.forecasted-uvindex.description = Zeigt den vorhergesagten UV-Index an.
|
||||
|
||||
channel-type.openweathermap.air-quality-index.label = Luftqualitätsindex
|
||||
channel-type.openweathermap.air-quality-index.description = Zeigt den aktuellen Luftqualitätsindex an.
|
||||
channel-type.openweathermap.air-quality-index.state.option.1 = Gut
|
||||
channel-type.openweathermap.air-quality-index.state.option.2 = Befriedigend
|
||||
channel-type.openweathermap.air-quality-index.state.option.3 = Moderat
|
||||
channel-type.openweathermap.air-quality-index.state.option.4 = Ungesund
|
||||
channel-type.openweathermap.air-quality-index.state.option.5 = Äußerst Ungesund
|
||||
|
||||
channel-type.openweathermap.forecasted-air-quality-index.label = Vorhergesagter Luftqualitätsindex
|
||||
channel-type.openweathermap.forecasted-air-quality-index.description = Zeigt den vorhergesagten Luftqualitätsindex an.
|
||||
channel-type.openweathermap.forecasted-air-quality-index.state.option.1 = Gut
|
||||
channel-type.openweathermap.forecasted-air-quality-index.state.option.2 = Befriedigend
|
||||
channel-type.openweathermap.forecasted-air-quality-index.state.option.3 = Moderat
|
||||
channel-type.openweathermap.forecasted-air-quality-index.state.option.4 = Ungesund
|
||||
channel-type.openweathermap.forecasted-air-quality-index.state.option.5 = Äußerst Ungesund
|
||||
|
||||
channel-type.openweathermap.particulate-matter-2dot5.label = Feinstaub - PM2.5
|
||||
channel-type.openweathermap.particulate-matter-2dot5.description = Aktuelle Dichte von Teilchen mit Partikelgröße unter 2,5 µm.
|
||||
|
||||
channel-type.openweathermap.forecasted-particulate-matter-2dot5.label = Vorhergesagter Feinstaub - PM2.5
|
||||
channel-type.openweathermap.forecasted-particulate-matter-2dot5.description = Vorhergesagte Dichte von Teilchen mit Partikelgröße unter 2,5 µm.
|
||||
|
||||
channel-type.openweathermap.particulate-matter-10.label = Feinstaub - PM10
|
||||
channel-type.openweathermap.particulate-matter-10.description = Aktuelle Dichte von Teilchen mit Partikelgröße unter 10 µm.
|
||||
|
||||
channel-type.openweathermap.forecasted-particulate-matter-10.label = Vorhergesagter Feinstaub - PM10
|
||||
channel-type.openweathermap.forecasted-particulate-matter-10.description = Vorhergesagte Dichte von Teilchen mit Partikelgröße unter 10 µm.
|
||||
|
||||
channel-type.openweathermap.carbon-monoxide.label = Kohlenmonoxid
|
||||
channel-type.openweathermap.carbon-monoxide.description = Aktuelle Konzentration an Kohlenmonoxid.
|
||||
|
||||
channel-type.openweathermap.forecasted-carbon-monoxide.label = Vorhergesagter Kohlenmonoxid
|
||||
channel-type.openweathermap.forecasted-carbon-monoxide.description = Vorhergesagte Konzentration an Kohlenmonoxid.
|
||||
|
||||
channel-type.openweathermap.nitrogen-monoxide.label = Stickstoffmonoxid
|
||||
channel-type.openweathermap.nitrogen-monoxide.description = Aktuelle Konzentration an Stickstoffmonoxid.
|
||||
|
||||
channel-type.openweathermap.forecasted-nitrogen-monoxide.label = Vorhergesagter Stickstoffmonoxid
|
||||
channel-type.openweathermap.forecasted-nitrogen-monoxide.description = Vorhergesagte Konzentration an Stickstoffmonoxid.
|
||||
|
||||
channel-type.openweathermap.nitrogen-dioxide.label = Stickstoffdioxid
|
||||
channel-type.openweathermap.nitrogen-dioxide.description = Aktuelle Konzentration an Stickstoffdioxid.
|
||||
|
||||
channel-type.openweathermap.forecasted-nitrogen-dioxide.label = Vorhergesagter Stickstoffdioxid
|
||||
channel-type.openweathermap.forecasted-nitrogen-dioxide.description = Vorhergesagte Konzentration an Stickstoffdioxid.
|
||||
|
||||
channel-type.openweathermap.ozone.label = Ozon
|
||||
channel-type.openweathermap.ozone.description = Aktuelle Konzentration an Ozon.
|
||||
|
||||
channel-type.openweathermap.forecasted-ozone.label = Vorhergesagter Ozon
|
||||
channel-type.openweathermap.forecasted-ozone.description = Vorhergesagte Konzentration an Ozon.
|
||||
|
||||
channel-type.openweathermap.sulphur-dioxide.label = Schwefeldioxid
|
||||
channel-type.openweathermap.sulphur-dioxide.description = Aktuelle Konzentration an Schwefeldioxid.
|
||||
|
||||
channel-type.openweathermap.forecasted-sulphur-dioxide.label = Vorhergesagter Schwefeldioxid
|
||||
channel-type.openweathermap.forecasted-sulphur-dioxide.description = Vorhergesagte Konzentration an Schwefeldioxid.
|
||||
|
||||
channel-type.openweathermap.ammonia.label = Ammoniak
|
||||
channel-type.openweathermap.ammonia.description = Aktuelle Konzentration an Ammoniak.
|
||||
|
||||
channel-type.openweathermap.forecasted-ammonia.label = Vorhergesagter Ammoniak
|
||||
channel-type.openweathermap.forecasted-ammonia.description = Vorhergesagte Konzentration an Ammoniak.
|
||||
|
||||
# thing status
|
||||
offline.conf-error-missing-apikey = Der Parameter 'API Schlüssel' muss konfiguriert werden.
|
||||
offline.conf-error-invalid-apikey = Ungültiger 'API Schlüssel'. Mehr Infos unter https://openweathermap.org/faq#error401.
|
||||
@@ -270,6 +360,7 @@ offline.conf-error-parsing-location = Der Parameter 'Ort' kann nicht in Latitude
|
||||
offline.conf-error-not-supported-number-of-hours = Der Parameter 'forecastHours' muss zwischen 0 und 120 liegen - Schrittweite: 3.
|
||||
offline.conf-error-not-supported-number-of-days = Der Parameter 'forecastDays' muss zwischen 0 und 16 liegen.
|
||||
offline.conf-error-not-supported-uvindex-number-of-days = Der Parameter 'forecastDays' muss zwischen 1 und 8 liegen.
|
||||
offline.conf-error-not-supported-air-pollution-number-of-hours = Der Parameter 'forecastHours' muss zwischen 0 und 120 liegen - Schrittweite: 1.
|
||||
|
||||
offline.conf-error-not-supported-onecall-number-of-minutes = Der Parameter 'forecastMinutes' muss zwischen 0 and 60 liegen.
|
||||
offline.conf-error-not-supported-onecall-number-of-hours = Der Parameter 'forecastHours' muss zwischen 0 und 48 liegen.
|
||||
@@ -278,3 +369,4 @@ offline.conf-error-not-supported-onecall-number-of-days = Der Parameter 'forecas
|
||||
# discovery result
|
||||
discovery.openweathermap.weather-and-forecast.api.local.label = Lokales Wetter und Wettervorhersage
|
||||
discovery.openweathermap.uvindex.api.local.label = Lokaler UV-Index
|
||||
discovery.openweathermap.air-pollution.api.local.label = Lokale Luftqualität
|
||||
|
||||
@@ -84,6 +84,9 @@
|
||||
<channel id="cloudiness" typeId="forecasted-cloudiness"/>
|
||||
<channel id="rain" typeId="forecasted-rain"/>
|
||||
<channel id="snow" typeId="forecasted-snow"/>
|
||||
<channel id="precip-probability" typeId="precip-probability"/>
|
||||
<channel id="sunrise" typeId="sunrise"/>
|
||||
<channel id="sunset" typeId="sunset"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
@@ -105,6 +108,40 @@
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="airPollution">
|
||||
<label>Current Air Pollution</label>
|
||||
<description>This is the current air pollution.</description>
|
||||
<channels>
|
||||
<channel id="time-stamp" typeId="time-stamp"/>
|
||||
<channel id="airQualityIndex" typeId="air-quality-index"/>
|
||||
<channel id="particulateMatter2dot5" typeId="particulate-matter-2dot5"/>
|
||||
<channel id="particulateMatter10" typeId="particulate-matter-10"/>
|
||||
<channel id="carbonMonoxide" typeId="carbon-monoxide"/>
|
||||
<channel id="nitrogenMonoxide" typeId="nitrogen-monoxide"/>
|
||||
<channel id="nitrogenDioxide" typeId="nitrogen-dioxide"/>
|
||||
<channel id="ozone" typeId="ozone"/>
|
||||
<channel id="sulphurDioxide" typeId="sulphur-dioxide"/>
|
||||
<channel id="ammonia" typeId="ammonia"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="airPollutionForecast">
|
||||
<label>Forecasted Air Pollution</label>
|
||||
<description>This is the forecasted air pollution.</description>
|
||||
<channels>
|
||||
<channel id="time-stamp" typeId="hourly-forecast-time-stamp"/>
|
||||
<channel id="airQualityIndex" typeId="forecasted-air-quality-index"/>
|
||||
<channel id="particulateMatter2dot5" typeId="forecasted-particulate-matter-2dot5"/>
|
||||
<channel id="particulateMatter10" typeId="forecasted-particulate-matter-10"/>
|
||||
<channel id="carbonMonoxide" typeId="forecasted-carbon-monoxide"/>
|
||||
<channel id="nitrogenMonoxide" typeId="forecasted-nitrogen-monoxide"/>
|
||||
<channel id="nitrogenDioxide" typeId="forecasted-nitrogen-dioxide"/>
|
||||
<channel id="ozone" typeId="forecasted-ozone"/>
|
||||
<channel id="sulphurDioxide" typeId="forecasted-sulphur-dioxide"/>
|
||||
<channel id="ammonia" typeId="forecasted-ammonia"/>
|
||||
</channels>
|
||||
</channel-group-type>
|
||||
|
||||
<channel-group-type id="oneCallCurrent">
|
||||
<label>One Call API Current Weather</label>
|
||||
<description>Current weather data from the One Call API.</description>
|
||||
@@ -576,6 +613,148 @@
|
||||
<state readOnly="true" pattern="%.1f"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="air-quality-index">
|
||||
<item-type>Number</item-type>
|
||||
<label>Air Quality Index</label>
|
||||
<description>Current air quality index.</description>
|
||||
<state readOnly="true" pattern="%.0f">
|
||||
<options>
|
||||
<option value="1">Good</option>
|
||||
<option value="2">Fair</option>
|
||||
<option value="3">Moderate</option>
|
||||
<option value="4">Poor</option>
|
||||
<option value="5">Very Poor</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-air-quality-index">
|
||||
<item-type>Number</item-type>
|
||||
<label>Forecasted Air Quality Index</label>
|
||||
<description>Forecasted air quality index.</description>
|
||||
<state readOnly="true" pattern="%.0f">
|
||||
<options>
|
||||
<option value="1">Good</option>
|
||||
<option value="2">Fair</option>
|
||||
<option value="3">Moderate</option>
|
||||
<option value="4">Poor</option>
|
||||
<option value="5">Very Poor</option>
|
||||
</options>
|
||||
</state>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="particulate-matter-2dot5">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Particulate Matter - PM2.5</label>
|
||||
<description>Current density of particles less than 2.5 µm in diameter.</description>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-particulate-matter-2dot5">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Particulate Matter - PM2.5</label>
|
||||
<description>Forecasted density of particles less than 2.5 µm in diameter.</description>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-particulate-matter-10">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Particulate Matter - PM10</label>
|
||||
<description>Current density of particles less than 10 µm in diameter.</description>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="particulate-matter-10">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Particulate Matter - PM10</label>
|
||||
<description>Forecasted density of particles less than 10 µm in diameter.</description>
|
||||
<state readOnly="true" pattern="%.2f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="carbon-monoxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Carbon Monoxide</label>
|
||||
<description>Current concentration of carbon monoxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-carbon-monoxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Carbon Monoxide</label>
|
||||
<description>Forecasted concentration of carbon monoxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="nitrogen-monoxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Nitrogen Monoxide</label>
|
||||
<description>Current concentration of nitrogen monoxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-nitrogen-monoxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Nitrogen Monoxide</label>
|
||||
<description>Forecasted concentration of nitrogen monoxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="nitrogen-dioxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Nitrogen Dioxide</label>
|
||||
<description>Current concentration of nitrogen dioxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-nitrogen-dioxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Nitrogen Dioxide</label>
|
||||
<description>Forecasted concentration of nitrogen dioxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="ozone">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Ozone</label>
|
||||
<description>Current concentration of ozone.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-ozone">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Ozone</label>
|
||||
<description>Forecasted concentration of ozone.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="sulphur-dioxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Sulphur Dioxide</label>
|
||||
<description>Current concentration of sulphur dioxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-sulphur-dioxide">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Sulphur Dioxide</label>
|
||||
<description>Forecasted concentration of sulphur dioxide.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="ammonia">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Ammonia</label>
|
||||
<description>Current concentration of ammonia.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="forecasted-ammonia">
|
||||
<item-type>Number:Density</item-type>
|
||||
<label>Forecasted Ammonia</label>
|
||||
<description>Forecasted concentration of ammonia.</description>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
<channel-type id="visibility">
|
||||
<item-type>Number:Length</item-type>
|
||||
<label>Visibility</label>
|
||||
@@ -585,9 +764,9 @@
|
||||
|
||||
<channel-type id="precip-probability">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<label>Probability</label>
|
||||
<label>Precipitation Probability</label>
|
||||
<description>Forecasted precipitation probability.</description>
|
||||
<category>Rain</category>
|
||||
<state readOnly="true" pattern="%.1f %unit%"/>
|
||||
</channel-type>
|
||||
|
||||
</thing:thing-descriptions>
|
||||
|
||||
@@ -116,6 +116,23 @@
|
||||
<config-description-ref uri="thing-type:openweathermap:uvindex"/>
|
||||
</thing-type>
|
||||
|
||||
<thing-type id="air-pollution">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="weather-api"/>
|
||||
</supported-bridge-type-refs>
|
||||
|
||||
<label>Air Pollution</label>
|
||||
<description>Provides air pollution data from the OpenWeatherMap API.</description>
|
||||
|
||||
<channel-groups>
|
||||
<channel-group id="current" typeId="airPollution"/>
|
||||
</channel-groups>
|
||||
|
||||
<representation-property>location</representation-property>
|
||||
|
||||
<config-description-ref uri="thing-type:openweathermap:air-pollution"/>
|
||||
</thing-type>
|
||||
|
||||
<thing-type id="onecall">
|
||||
<supported-bridge-type-refs>
|
||||
<bridge-type-ref id="weather-api"/>
|
||||
|
||||
Reference in New Issue
Block a user