import { SimpleLocalIntegration } from '../../core/index.js';
import { AquostvConfigFlow } from './aquostv.classes.configflow.js';
import { createAquostvDiscoveryDescriptor } from './aquostv.discovery.js';
import type { IAquostvConfig } from './aquostv.types.js';
import { aquostvDomain, aquostvProfile } from './aquostv.types.js';

export class AquostvIntegration extends SimpleLocalIntegration<IAquostvConfig> {
  public readonly domain = aquostvDomain;
  public readonly discoveryDescriptor = createAquostvDiscoveryDescriptor();
  public readonly configFlow = new AquostvConfigFlow();

  constructor() {
    super(aquostvProfile);
  }
}

export class HomeAssistantAquostvIntegration extends AquostvIntegration {}
