[OmniLink] Fix spelling of status (#10161)
Signed-off-by: Ethan Dye <mrtops03@gmail.com>
This commit is contained in:
parent
71dbf2ed1b
commit
5c3c1db52e
|
@ -94,7 +94,7 @@ public abstract class AbstractAreaHandler extends AbstractOmnilinkStatusHandler<
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ public abstract class AbstractOmnilinkStatusHandler<T extends Status> extends Ab
|
||||||
if (bridge != null && bridge.getStatus() == ThingStatus.ONLINE) {
|
if (bridge != null && bridge.getStatus() == ThingStatus.ONLINE) {
|
||||||
updateStatus(ThingStatus.ONLINE);
|
updateStatus(ThingStatus.ONLINE);
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class AudioZoneHandler extends AbstractOmnilinkStatusHandler<ExtendedAudi
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class HumiditySensorHandler extends AbstractOmnilinkStatusHandler<Extende
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -85,7 +85,7 @@ public class LockHandler extends AbstractOmnilinkStatusHandler<ExtendedAccessCon
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class TempSensorHandler extends AbstractOmnilinkStatusHandler<ExtendedAux
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,7 @@ public class ThermostatHandler extends AbstractOmnilinkStatusHandler<ExtendedThe
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@ public class UnitHandler extends AbstractOmnilinkStatusHandler<ExtendedUnitStatu
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class ZoneHandler extends AbstractOmnilinkStatusHandler<ExtendedZoneStatu
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class FlagHandler extends UnitHandler {
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class UpbRoomHandler extends UnitHandler {
|
||||||
|
|
||||||
if (command instanceof RefreshType) {
|
if (command instanceof RefreshType) {
|
||||||
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
retrieveStatus().ifPresentOrElse(this::updateChannels, () -> updateStatus(ThingStatus.OFFLINE,
|
||||||
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null staus update!"));
|
ThingStatusDetail.OFFLINE.COMMUNICATION_ERROR, "Received null status update!"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue