mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-21 17:18:49 +00:00
Fix mapping for scene room mapping as well. doh!
This commit is contained in:
@@ -72,7 +72,10 @@ public class VeraInfo {
|
||||
Scene theScene = null;
|
||||
while (theSecneIter.hasNext()) {
|
||||
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