import { SimpleLocalIntegration } from '../../core/index.js';
import { IdasenDeskConfigFlow } from './idasen_desk.classes.configflow.js';
import { createIdasenDeskDiscoveryDescriptor } from './idasen_desk.discovery.js';
import type { IIdasenDeskConfig } from './idasen_desk.types.js';
import { idasenDeskDomain, idasenDeskProfile } from './idasen_desk.types.js';

export class IdasenDeskIntegration extends SimpleLocalIntegration<IIdasenDeskConfig> {
  public readonly domain = idasenDeskDomain;
  public readonly discoveryDescriptor = createIdasenDeskDiscoveryDescriptor();
  public readonly configFlow = new IdasenDeskConfigFlow();

  constructor() {
    super(idasenDeskProfile);
  }
}

export class HomeAssistantIdasenDeskIntegration extends IdasenDeskIntegration {}
