import { SimpleLocalIntegration } from '../../core/index.js';
import { Airtouch4ConfigFlow } from './airtouch4.classes.configflow.js';
import { createAirtouch4DiscoveryDescriptor } from './airtouch4.discovery.js';
import type { IAirtouch4Config } from './airtouch4.types.js';
import { airtouch4Domain, airtouch4Profile } from './airtouch4.types.js';

export class Airtouch4Integration extends SimpleLocalIntegration<IAirtouch4Config> {
  public readonly domain = airtouch4Domain;
  public readonly discoveryDescriptor = createAirtouch4DiscoveryDescriptor();
  public readonly configFlow = new Airtouch4ConfigFlow();

  constructor() {
    super(airtouch4Profile);
  }
}

export class HomeAssistantAirtouch4Integration extends Airtouch4Integration {}
