Skip to content

Commit

Permalink
fix: must use a name that matches the config class
Browse files Browse the repository at this point in the history
  • Loading branch information
obones committed Jun 26, 2024
1 parent 3754c8d commit 7c27e65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/OH-INF/config/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@
<default>48</default>
</parameter>

<parameter name="hourly" type="boolean" groupName="hourlyParameters">
<label>@text/config.openmeteo.thing.air-quality.hourly.label</label>
<description>@text/config.openmeteo.thing.air-quality.hourly.description</description>
<parameter name="hourlyTimeSeries" type="boolean" groupName="hourlyParameters">
<label>@text/config.openmeteo.thing.air-quality.hourlyTimeSeries.label</label>
<description>@text/config.openmeteo.thing.air-quality.hourlyTimeSeries.description</description>
<advanced>false</advanced>
<default>true</default>
</parameter>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/OH-INF/i18n/openmeteo.properties
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ config.openmeteo.thing.air-quality.hourlyParameters.label = Hourly air quality r
config.openmeteo.thing.air-quality.hourlyParameters.description =
config.openmeteo.thing.air-quality.hourlyHours.label = Hours
config.openmeteo.thing.air-quality.hourlyHours.description = The number of hours to provide a forecast for.
config.openmeteo.thing.air-quality.hourly.label = Hourly report
config.openmeteo.thing.air-quality.hourly.description = Provide an hourly time series channel group, values are accessed via the persistence extensions
config.openmeteo.thing.air-quality.hourlyTimeSeries.label = Hourly report
config.openmeteo.thing.air-quality.hourlyTimeSeries.description = Provide an hourly time series channel group, values are accessed via the persistence extensions
config.openmeteo.thing.air-quality.currentParameters.label = Current air quality report parameters
config.openmeteo.thing.air-quality.currentParameters.description =
config.openmeteo.thing.air-quality.current.label = Current air quality
Expand Down

0 comments on commit 7c27e65

Please sign in to comment.