mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 00:20:26 +00:00
Finalized handling for barmony. Added a version call for use in api.
Updated version handling in the pom.xml and code. Removed vtwocompatibility as it should not be used.
This commit is contained in:
@@ -35,9 +35,11 @@ public class HarmonyServer {
|
||||
return new HarmonyServer();
|
||||
}
|
||||
Injector injector = null;
|
||||
injector = Guice.createInjector(new HarmonyClientModule());
|
||||
if(!bridgeSettings.isDevMode())
|
||||
injector = Guice.createInjector(new HarmonyClientModule());
|
||||
HarmonyServer mainObject = new HarmonyServer();
|
||||
injector.injectMembers(mainObject);
|
||||
if(!bridgeSettings.isDevMode())
|
||||
injector.injectMembers(mainObject);
|
||||
mainObject.execute(bridgeSettings);
|
||||
return mainObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user