import { SimpleLocalIntegration } from '../../core/index.js';
import { Dremel3dPrinterConfigFlow } from './dremel_3d_printer.classes.configflow.js';
import { createDremel3dPrinterDiscoveryDescriptor } from './dremel_3d_printer.discovery.js';
import type { IDremel3dPrinterConfig } from './dremel_3d_printer.types.js';
import { dremel3dPrinterDomain, dremel3dPrinterProfile } from './dremel_3d_printer.types.js';

export class Dremel3dPrinterIntegration extends SimpleLocalIntegration<IDremel3dPrinterConfig> {
  public readonly domain = dremel3dPrinterDomain;
  public readonly discoveryDescriptor = createDremel3dPrinterDiscoveryDescriptor();
  public readonly configFlow = new Dremel3dPrinterConfigFlow();

  constructor() {
    super(dremel3dPrinterProfile);
  }
}

export class HomeAssistantDremel3dPrinterIntegration extends Dremel3dPrinterIntegration {}
