mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[freeboxos] Fix command handling for DECT thing type (#17274)
Related to comment in #17262 Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
14d143db76
commit
d24770fb08
@ -20,6 +20,8 @@ import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.binding.freeboxos.internal.api.FreeboxException;
|
||||
import org.openhab.binding.freeboxos.internal.api.Response;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* The {@link PhoneManager} is the Java class used to handle api requests related to phone and calls
|
||||
*
|
||||
@ -38,6 +40,7 @@ public class PhoneManager extends ConfigurableRest<PhoneManager.Config, PhoneMan
|
||||
}
|
||||
|
||||
private enum NetworkStatus {
|
||||
@SerializedName("working")
|
||||
WORKING,
|
||||
UNKNOWN
|
||||
}
|
||||
@ -47,7 +50,9 @@ public class PhoneManager extends ConfigurableRest<PhoneManager.Config, PhoneMan
|
||||
}
|
||||
|
||||
public enum Type {
|
||||
@SerializedName("fxs")
|
||||
FXS,
|
||||
@SerializedName("dect")
|
||||
DECT,
|
||||
UNKNOWN
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user