For instance DEV_SYS_CPU command should carry PercentValue however in case of failure (i.e. unsufficient permissions) the JsonValue is returned instead. Since LoxoneHttp.get() is type parametrized, the ClassCastException happens later when trying to access returned LoxoneMessage.value
For instance
DEV_SYS_CPU
command should carryPercentValue
however in case of failure (i.e. unsufficient permissions) theJsonValue
is returned instead. SinceLoxoneHttp.get()
is type parametrized, the ClassCastException happens later when trying to access returnedLoxoneMessage.value