import { SimpleLocalIntegration } from '../../core/index.js';
import { ActiontecConfigFlow } from './actiontec.classes.configflow.js';
import { createActiontecDiscoveryDescriptor } from './actiontec.discovery.js';
import type { IActiontecConfig } from './actiontec.types.js';
import { actiontecDomain, actiontecProfile } from './actiontec.types.js';

export class ActiontecIntegration extends SimpleLocalIntegration<IActiontecConfig> {
  public readonly domain = actiontecDomain;
  public readonly discoveryDescriptor = createActiontecDiscoveryDescriptor();
  public readonly configFlow = new ActiontecConfigFlow();

  constructor() {
    super(actiontecProfile);
  }
}

export class HomeAssistantActiontecIntegration extends ActiontecIntegration {}
