[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:
lolodomo 2024-08-18 13:23:19 +02:00 committed by Ciprian Pascu
parent 14d143db76
commit d24770fb08

View File

@ -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
}