mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 00:10:20 +00:00
Fix mapping for scene room mapping as well. doh!
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.bwssystems.HABridge</groupId>
|
<groupId>com.bwssystems.HABridge</groupId>
|
||||||
<artifactId>ha-bridge</artifactId>
|
<artifactId>ha-bridge</artifactId>
|
||||||
<version>0.3.2</version>
|
<version>0.3.3</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>HA Bridge</name>
|
<name>HA Bridge</name>
|
||||||
|
|||||||
@@ -72,7 +72,10 @@ public class VeraInfo {
|
|||||||
Scene theScene = null;
|
Scene theScene = null;
|
||||||
while (theSecneIter.hasNext()) {
|
while (theSecneIter.hasNext()) {
|
||||||
theScene = theSecneIter.next();
|
theScene = theSecneIter.next();
|
||||||
theScene.setRoom(roomMap.get(theScene.getRoom()).getName());
|
if(theScene.getRoom() != null && roomMap.get(theScene.getRoom()) != null)
|
||||||
|
theScene.setRoom(roomMap.get(theScene.getRoom()).getName());
|
||||||
|
else
|
||||||
|
theScene.setRoom("no room");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user