]> git.basschouten.com Git - openhab-addons.git/commit
[hydrawise] Fixes occasional connection issues (#15177)
authorDan Cunningham <dan@digitaldan.com>
Tue, 4 Jul 2023 19:29:03 +0000 (12:29 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 19:29:03 +0000 (21:29 +0200)
commitd83084849dde93820125a7efffb33dae73e0e34c
tree118599d5a1e89e95e0afe8ee9d2059277cd9f7e7
parent3f6b2b72319d6bc1ea0508cac0323817768a5dbe
[hydrawise] Fixes occasional connection issues (#15177)

* The Hydrawise API can return sometimes return a non JSON response during service outages, like when they are updating thier software.  This treats this as a connection error and allows the client to try the poll again.
* Adds additional http status checking

Fixes #15170

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
bundles/org.openhab.binding.hydrawise/src/main/java/org/openhab/binding/hydrawise/internal/api/graphql/HydrawiseGraphQLClient.java