From b61e3d0d1ea1167623e1416ec240789fc7b3f36a Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Wed, 17 Oct 2018 23:55:41 +0200 Subject: [PATCH] fix device page selection for awnings and shutters --- nymea-app/ui/Nymea.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nymea-app/ui/Nymea.qml b/nymea-app/ui/Nymea.qml index c539e8e4..64877cac 100644 --- a/nymea-app/ui/Nymea.qml +++ b/nymea-app/ui/Nymea.qml @@ -236,9 +236,9 @@ ApplicationWindow { page = "GarageGateDevicePage.qml"; } else if (interfaceList.indexOf("light") >= 0) { page = "LightDevicePage.qml"; - } else if (interfaceList.indexOf("extendedshutter") >= 0 ) { + } else if (interfaceList.indexOf("shutter") >= 0 || interfaceList.indexOf("blind") >= 0) { page = "ShutterDevicePage.qml"; - } else if (interfaceList.indexOf("extendedawning") >= 0) { + } else if (interfaceList.indexOf("awning") >= 0) { page = "AwningDevicePage.qml"; } else if (interfaceList.indexOf("notifications") >= 0) { page = "NotificationsDevicePage.qml";