import { SimpleLocalIntegration } from '../../core/index.js';
import { ArrisTg2492lgConfigFlow } from './arris_tg2492lg.classes.configflow.js';
import { createArrisTg2492lgDiscoveryDescriptor } from './arris_tg2492lg.discovery.js';
import type { IArrisTg2492lgConfig } from './arris_tg2492lg.types.js';
import { arrisTg2492lgDomain, arrisTg2492lgProfile } from './arris_tg2492lg.types.js';

export class ArrisTg2492lgIntegration extends SimpleLocalIntegration<IArrisTg2492lgConfig> {
  public readonly domain = arrisTg2492lgDomain;
  public readonly discoveryDescriptor = createArrisTg2492lgDiscoveryDescriptor();
  public readonly configFlow = new ArrisTg2492lgConfigFlow();

  constructor() {
    super(arrisTg2492lgProfile);
  }
}

export class HomeAssistantArrisTg2492lgIntegration extends ArrisTg2492lgIntegration {}
