public LightsHelper(IHassWebApiServiceProxy hassApiProxy1) { _hassApiProxy = hassApiProxy1; }
// Dependencies (IoC or Factories not supported yet, but would be nice with a factory that you can override to work with whatever) public XiButtonsDimmerApp() { _logger = LogManager.GetCurrentClassLogger(); _hassApiProxy = new HassWebApiServiceProxy(WebApiBaseUrl, ApiPassword); _lightsHelper = new LightsHelper(_hassApiProxy); }