Merge PR #74: fix weather page
This commit is contained in:
commit
8b0c65bdf7
@ -21,23 +21,26 @@ Flickable {
|
|||||||
device: root.device
|
device: root.device
|
||||||
deviceClass: root.deviceClass
|
deviceClass: root.deviceClass
|
||||||
}
|
}
|
||||||
SensorChart {
|
GenericTypeGraph {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
device: root.device
|
device: root.device
|
||||||
deviceClass: root.deviceClass
|
stateType: root.deviceClass.stateTypes.findByName("temperature")
|
||||||
interfaceName: "temperaturesensor"
|
iconSource: app.interfaceToIcon("temperaturesensor")
|
||||||
|
color: app.interfaceToColor("temperaturesensor")
|
||||||
}
|
}
|
||||||
SensorChart {
|
GenericTypeGraph {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
device: root.device
|
device: root.device
|
||||||
deviceClass: root.deviceClass
|
stateType: root.deviceClass.stateTypes.findByName("humidity")
|
||||||
interfaceName: "humiditysensor"
|
iconSource: app.interfaceToIcon("humiditysensor")
|
||||||
|
color: app.interfaceToColor("humiditysensor")
|
||||||
}
|
}
|
||||||
SensorChart {
|
GenericTypeGraph {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
device: root.device
|
device: root.device
|
||||||
deviceClass: root.deviceClass
|
stateType: root.deviceClass.stateTypes.findByName("pressure")
|
||||||
interfaceName: "pressuresensor"
|
iconSource: app.interfaceToIcon("pressuresensor")
|
||||||
|
color: app.interfaceToColor("pressuresensor")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user