fix device page selection for awnings and shutters

This commit is contained in:
Michael Zanetti 2018-10-17 23:55:41 +02:00
parent b01f73bda4
commit b61e3d0d1e

View File

@ -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";