package io.github.spharris.pvwatts.service;

import com.google.inject.AbstractModule;

import io.github.spharris.pvwatts.service.v4.PvWatts4Service;
import io.github.spharris.pvwatts.service.v5.PvWatts5Service;
import io.github.spharris.ssc.ModuleFactory;

public final class PvWattsServiceModule extends AbstractModule {

  @Override
  protected void configure() {
    requireBinding(ModuleFactory.class);
    
    bind(PvWatts4Service.class);
    bind(PvWatts5Service.class);
  }

}

@@ -196,32 +196,97 @@
 vWatts5Service;%0A
+import io.github.spharris.pvwatts.service.weather.WeatherModule;%0A
 import io.github
@@ -470,16 +470,55 @@
 );%0A    %0A
+    install(new WeatherModule());%0A    %0A
     bind

Install weather module