import { SimpleLocalIntegration } from '../../core/index.js';
import { Airtouch5ConfigFlow } from './airtouch5.classes.configflow.js';
import { createAirtouch5DiscoveryDescriptor } from './airtouch5.discovery.js';
import type { IAirtouch5Config } from './airtouch5.types.js';
import { airtouch5Domain, airtouch5Profile } from './airtouch5.types.js';

export class Airtouch5Integration extends SimpleLocalIntegration<IAirtouch5Config> {
  public readonly domain = airtouch5Domain;
  public readonly discoveryDescriptor = createAirtouch5DiscoveryDescriptor();
  public readonly configFlow = new Airtouch5ConfigFlow();

  constructor() {
    super(airtouch5Profile);
  }
}

export class HomeAssistantAirtouch5Integration extends Airtouch5Integration {}
