import { SimpleLocalIntegration } from '../../core/index.js';
import { BangOlufsenConfigFlow } from './bang_olufsen.classes.configflow.js';
import { createBangOlufsenDiscoveryDescriptor } from './bang_olufsen.discovery.js';
import type { IBangOlufsenConfig } from './bang_olufsen.types.js';
import { bangOlufsenDomain, bangOlufsenProfile } from './bang_olufsen.types.js';

export class BangOlufsenIntegration extends SimpleLocalIntegration<IBangOlufsenConfig> {
  public readonly domain = bangOlufsenDomain;
  public readonly discoveryDescriptor = createBangOlufsenDiscoveryDescriptor();
  public readonly configFlow = new BangOlufsenConfigFlow();

  constructor() {
    super(bangOlufsenProfile);
  }
}

export class HomeAssistantBangOlufsenIntegration extends BangOlufsenIntegration {}
