import { SimpleLocalIntegration } from '../../core/index.js';
import { ArubaConfigFlow } from './aruba.classes.configflow.js';
import { createArubaDiscoveryDescriptor } from './aruba.discovery.js';
import type { IArubaConfig } from './aruba.types.js';
import { arubaDomain, arubaProfile } from './aruba.types.js';

export class ArubaIntegration extends SimpleLocalIntegration<IArubaConfig> {
  public readonly domain = arubaDomain;
  public readonly discoveryDescriptor = createArubaDiscoveryDescriptor();
  public readonly configFlow = new ArubaConfigFlow();

  constructor() {
    super(arubaProfile);
  }
}

export class HomeAssistantArubaIntegration extends ArubaIntegration {}
