import { SimpleLocalIntegration } from '../../core/index.js';
import { AdvantageAirConfigFlow } from './advantage_air.classes.configflow.js';
import { createAdvantageAirDiscoveryDescriptor } from './advantage_air.discovery.js';
import type { IAdvantageAirConfig } from './advantage_air.types.js';
import { advantageAirDomain, advantageAirProfile } from './advantage_air.types.js';

export class AdvantageAirIntegration extends SimpleLocalIntegration<IAdvantageAirConfig> {
  public readonly domain = advantageAirDomain;
  public readonly discoveryDescriptor = createAdvantageAirDiscoveryDescriptor();
  public readonly configFlow = new AdvantageAirConfigFlow();

  constructor() {
    super(advantageAirProfile);
  }
}

export class HomeAssistantAdvantageAirIntegration extends AdvantageAirIntegration {}
