import { SimpleLocalIntegration } from '../../core/index.js';
import { Gc100ConfigFlow } from './gc100.classes.configflow.js';
import { createGc100DiscoveryDescriptor } from './gc100.discovery.js';
import type { IGc100Config } from './gc100.types.js';
import { gc100Domain, gc100Profile } from './gc100.types.js';

export class Gc100Integration extends SimpleLocalIntegration<IGc100Config> {
  public readonly domain = gc100Domain;
  public readonly discoveryDescriptor = createGc100DiscoveryDescriptor();
  public readonly configFlow = new Gc100ConfigFlow();

  constructor() {
    super(gc100Profile);
  }
}

export class HomeAssistantGc100Integration extends Gc100Integration {}
