Skip to content

Failed HTTP get for typed command can lead to ClassCastException #182

@jimirocks

Description

@jimirocks

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions