Use renamed Units class (#9267)
Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -46,7 +46,7 @@ import org.openhab.core.library.types.PercentType;
|
||||
import org.openhab.core.library.types.PlayPauseType;
|
||||
import org.openhab.core.library.types.RewindFastforwardType;
|
||||
import org.openhab.core.library.types.StringType;
|
||||
import org.openhab.core.library.unit.SmartHomeUnits;
|
||||
import org.openhab.core.library.unit.Units;
|
||||
import org.openhab.core.thing.ChannelUID;
|
||||
import org.openhab.core.thing.Thing;
|
||||
import org.openhab.core.thing.ThingStatus;
|
||||
@@ -77,7 +77,7 @@ public class KaleidescapeHandler extends BaseThingHandler implements Kaleidescap
|
||||
private final Map<String, String> cache = new HashMap<String, String>();
|
||||
|
||||
protected final HttpClient httpClient;
|
||||
protected final Unit<Time> apiSecondUnit = SmartHomeUnits.SECOND;
|
||||
protected final Unit<Time> apiSecondUnit = Units.SECOND;
|
||||
|
||||
private ThingTypeUID thingTypeUID = THING_TYPE_PLAYER;
|
||||
private @Nullable ScheduledFuture<?> reconnectJob;
|
||||
|
||||
Reference in New Issue
Block a user