diff --git a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifException.java b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifException.java index 3d7f00492de..109a3555059 100755 --- a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifException.java +++ b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifException.java @@ -15,7 +15,7 @@ package org.openhab.binding.airparif.internal; import org.eclipse.jdt.annotation.NonNullByDefault; /** - * An exception that occurred while communicating with Air Parif API server or related processes. + * An exception that occurred while communicating with AirParif API server or related processes. * * @author Gaël L'hopital - Initial contribution */ diff --git a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifIconProvider.java b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifIconProvider.java index f5f4ec0df1f..fd6bd5337b1 100755 --- a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifIconProvider.java +++ b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/AirParifIconProvider.java @@ -49,7 +49,7 @@ import org.slf4j.LoggerFactory; @NonNullByDefault public class AirParifIconProvider implements IconProvider { private static final String NEUTRAL_COLOR = "#3d3c3c"; - private static final String DEFAULT_LABEL = "Air Parif Icons"; + private static final String DEFAULT_LABEL = "AirParif Icons"; private static final String AQ_ICON = "aq"; private static final String DEFAULT_DESCRIPTION = "Icons illustrating air quality levels provided by AirParif"; private static final List POLLEN_ICONS = Pollen.AS_SET.stream().map(Pollen::name).map(String::toLowerCase) diff --git a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/api/AirParifApi.java b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/api/AirParifApi.java index 5349d18caef..bd270779d50 100644 --- a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/api/AirParifApi.java +++ b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/api/AirParifApi.java @@ -36,7 +36,6 @@ public class AirParifApi { public static final URI EPISODES_URI = AIRPARIF_BUILDER.clone().path("episodes").path("en-cours-et-prevus").build(); private static final UriBuilder INDICES_BUILDER = AIRPARIF_BUILDER.clone().path("indices").path("prevision"); - public static final URI PREV_COLORS_URI = INDICES_BUILDER.clone().path("couleurs").build(); public static final URI PREV_BULLETIN_URI = INDICES_BUILDER.clone().path("bulletin").build(); private static final UriBuilder POLLENS_BUILDER = AIRPARIF_BUILDER.clone().path("pollens"); @@ -44,6 +43,7 @@ public class AirParifApi { // Poor interest, only returns highest risk level for the dept. // public static final UriBuilder POLLENS_DEPT_BUILDER = POLLENS_BUILDER.clone().path("departement"); + // public static final URI PREV_COLORS_URI = INDICES_BUILDER.clone().path("couleurs").build(); public enum Scope { @SerializedName("Cartes et résultats Hor'Air") diff --git a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/handler/AirParifBridgeHandler.java b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/handler/AirParifBridgeHandler.java index 8f92c27cc61..8784ce3147c 100755 --- a/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/handler/AirParifBridgeHandler.java +++ b/bundles/org.openhab.binding.airparif/src/main/java/org/openhab/binding/airparif/internal/handler/AirParifBridgeHandler.java @@ -278,10 +278,6 @@ public class AirParifBridgeHandler extends BaseBridgeHandler implements HandlerU updateState(new ChannelUID(dailyGroupUID, CHANNEL_MESSAGE), new StringType(episode.message().fr())); updateState(new ChannelUID(dailyGroupUID, CHANNEL_TOMORROW), new StringType(episode.message().fr())); - // Set.of(episode.today(), episode.tomorrow()).stream().forEach(aq -> { - - // }); - ZonedDateTime tomorrowMorning = ZonedDateTime.now().plusDays(1).truncatedTo(ChronoUnit.DAYS).plusMinutes(1); schedule(EPISODE_JOB, () -> updateEpisode(dailyGroupUID), Duration.between(ZonedDateTime.now(), tomorrowMorning));