openhab-addons/bundles/org.openhab.binding.hydrawise/src/main/resources/query.graphql
Dan Cunningham f9c40fff8b
[hydrawise] Various Fixes (#17345)
* Workaround for a bad response from the Hydrawise API

Signed-off-by: Dan Cunningham <dan@digitaldan.com>
2024-08-29 00:50:26 +02:00

102 lines
1.6 KiB
GraphQL

{
me {
email
lastContact
controllers {
id
name
status {
summary
online
lastContact {
timestamp
}
}
hardware {
version
model {
maxZones
name
description
}
}
location {
coordinates {
latitude
longitude
}
}
zones {
id
name
status {
suspendedUntil {
timestamp
}
}
icon {
id
fileName
customImage {
id
url
}
}
number {
value
label
}
scheduledRuns {
summary
currentRun{
id
startTime {
timestamp
}
endTime {
timestamp
}
duration
status {
value
label
}
}
nextRun {
id
startTime {
timestamp
}
endTime {
timestamp
}
duration
}
}
}
sensors {
id
name
input {
number
label
}
status {
active
waterFlow {
value
unit
}
}
model {
modeType
active
offLevel
offTimer
delay
}
}
}
}
}