Merge PR #500: Fix weather device list page
This commit is contained in:
commit
afdcd33301
@ -32,7 +32,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"description": "Notify me when something dries ou",
|
"description": "Notify me when something dries out",
|
||||||
"ruleNameTemplate": "Notify %1 when %0 dries out",
|
"ruleNameTemplate": "Notify %1 when %0 dries out",
|
||||||
"stateEvaluatorTemplate": {
|
"stateEvaluatorTemplate": {
|
||||||
"stateDescriptorTemplate": {
|
"stateDescriptorTemplate": {
|
||||||
|
|||||||
@ -63,7 +63,7 @@ DeviceListPageBase {
|
|||||||
delegate: BigThingTile {
|
delegate: BigThingTile {
|
||||||
id: itemDelegate
|
id: itemDelegate
|
||||||
Layout.preferredWidth: contentGrid.width / contentGrid.columns
|
Layout.preferredWidth: contentGrid.width / contentGrid.columns
|
||||||
thing: root.thingsProxy.get(model.id)
|
thing: root.thingsProxy.get(index)
|
||||||
|
|
||||||
onClicked: enterPage(index)
|
onClicked: enterPage(index)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user