From d97a559d96ef7fcdd733c9a552724c67fc3df028 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sat, 9 Jan 2021 12:32:07 +0100 Subject: [PATCH] Fix weather device list page --- nymea-app/ruletemplates/notificationtemplates.json | 2 +- nymea-app/ui/devicelistpages/WeatherDeviceListPage.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nymea-app/ruletemplates/notificationtemplates.json b/nymea-app/ruletemplates/notificationtemplates.json index f408bf06..c6bd69c5 100644 --- a/nymea-app/ruletemplates/notificationtemplates.json +++ b/nymea-app/ruletemplates/notificationtemplates.json @@ -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", "stateEvaluatorTemplate": { "stateDescriptorTemplate": { diff --git a/nymea-app/ui/devicelistpages/WeatherDeviceListPage.qml b/nymea-app/ui/devicelistpages/WeatherDeviceListPage.qml index e7c60386..3594b9bd 100644 --- a/nymea-app/ui/devicelistpages/WeatherDeviceListPage.qml +++ b/nymea-app/ui/devicelistpages/WeatherDeviceListPage.qml @@ -63,7 +63,7 @@ DeviceListPageBase { delegate: BigThingTile { id: itemDelegate Layout.preferredWidth: contentGrid.width / contentGrid.columns - thing: root.thingsProxy.get(model.id) + thing: root.thingsProxy.get(index) onClicked: enterPage(index)