import { SimpleLocalIntegration } from '../../core/index.js';
import { BeewiSmartclimConfigFlow } from './beewi_smartclim.classes.configflow.js';
import { createBeewiSmartclimDiscoveryDescriptor } from './beewi_smartclim.discovery.js';
import type { IBeewiSmartclimConfig } from './beewi_smartclim.types.js';
import { beewiSmartclimDomain, beewiSmartclimProfile } from './beewi_smartclim.types.js';

export class BeewiSmartclimIntegration extends SimpleLocalIntegration<IBeewiSmartclimConfig> {
  public readonly domain = beewiSmartclimDomain;
  public readonly discoveryDescriptor = createBeewiSmartclimDiscoveryDescriptor();
  public readonly configFlow = new BeewiSmartclimConfigFlow();

  constructor() {
    super(beewiSmartclimProfile);
  }
}

export class HomeAssistantBeewiSmartclimIntegration extends BeewiSmartclimIntegration {}
