import { SimpleLocalIntegration } from '../../core/index.js';
import { AcerProjectorConfigFlow } from './acer_projector.classes.configflow.js';
import { createAcerProjectorDiscoveryDescriptor } from './acer_projector.discovery.js';
import type { IAcerProjectorConfig } from './acer_projector.types.js';
import { acerProjectorDomain, acerProjectorProfile } from './acer_projector.types.js';

export class AcerProjectorIntegration extends SimpleLocalIntegration<IAcerProjectorConfig> {
  public readonly domain = acerProjectorDomain;
  public readonly discoveryDescriptor = createAcerProjectorDiscoveryDescriptor();
  public readonly configFlow = new AcerProjectorConfigFlow();

  constructor() {
    super(acerProjectorProfile);
  }
}

export class HomeAssistantAcerProjectorIntegration extends AcerProjectorIntegration {}
