Skip to content

Commit e8cf652

Browse files
committed
moved hue objects to own package
1 parent 39b94d9 commit e8cf652

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

src/main/java/com/armzilla/ha/api/DeviceResponse.java renamed to src/main/java/com/armzilla/ha/api/hue/DeviceResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.armzilla.ha.api;
1+
package com.armzilla.ha.api.hue;
22

33
import java.util.HashMap;
44
import java.util.LinkedList;

src/main/java/com/armzilla/ha/api/DeviceState.java renamed to src/main/java/com/armzilla/ha/api/hue/DeviceState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.armzilla.ha.api;
1+
package com.armzilla.ha.api.hue;
22

33
import java.util.List;
44

src/main/java/com/armzilla/ha/api/HueApiResponse.java renamed to src/main/java/com/armzilla/ha/api/hue/HueApiResponse.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
package com.armzilla.ha.api;
1+
package com.armzilla.ha.api.hue;
2+
3+
import com.armzilla.ha.api.hue.DeviceResponse;
24

35
import java.util.Map;
46

src/main/java/com/armzilla/ha/hue/HueMulator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.armzilla.ha.hue;
22

3-
import com.armzilla.ha.api.DeviceResponse;
4-
import com.armzilla.ha.api.HueApiResponse;
3+
import com.armzilla.ha.api.hue.DeviceResponse;
4+
import com.armzilla.ha.api.hue.HueApiResponse;
55
import com.armzilla.ha.dao.*;
66
import org.apache.log4j.Logger;
77
import org.springframework.beans.factory.annotation.Autowired;

src/main/java/com/armzilla/ha/upnp/UpnpListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public void startListening(){
4848
upnpMulticastSocket.receive(packet);
4949
String packetString = new String(packet.getData());
5050
if(isSSDPDiscovery(packetString)){
51-
log.info("Got SSDP Discovery packet from " + packet.getAddress().getHostAddress() + ":" + packet.getPort());
51+
log.debug("Got SSDP Discovery packet from " + packet.getAddress().getHostAddress() + ":" + packet.getPort());
5252
sendUpnpResponse(responseSocket, packet.getAddress(), packet.getPort());
5353
}
5454
}

0 commit comments

Comments
 (0)