import { SimpleLocalIntegration } from '../../core/index.js';
import { EurotronicCometblueConfigFlow } from './eurotronic_cometblue.classes.configflow.js';
import { createEurotronicCometblueDiscoveryDescriptor } from './eurotronic_cometblue.discovery.js';
import type { IEurotronicCometblueConfig } from './eurotronic_cometblue.types.js';
import { eurotronicCometblueDomain, eurotronicCometblueProfile } from './eurotronic_cometblue.types.js';

export class EurotronicCometblueIntegration extends SimpleLocalIntegration<IEurotronicCometblueConfig> {
  public readonly domain = eurotronicCometblueDomain;
  public readonly discoveryDescriptor = createEurotronicCometblueDiscoveryDescriptor();
  public readonly configFlow = new EurotronicCometblueConfigFlow();

  constructor() {
    super(eurotronicCometblueProfile);
  }
}

export class HomeAssistantEurotronicCometblueIntegration extends EurotronicCometblueIntegration {}
