import { SimpleLocalIntegration } from '../../core/index.js';
import { HueBleConfigFlow } from './hue_ble.classes.configflow.js';
import { createHueBleDiscoveryDescriptor } from './hue_ble.discovery.js';
import type { IHueBleConfig } from './hue_ble.types.js';
import { hueBleDomain, hueBleProfile } from './hue_ble.types.js';

export class HueBleIntegration extends SimpleLocalIntegration<IHueBleConfig> {
  public readonly domain = hueBleDomain;
  public readonly discoveryDescriptor = createHueBleDiscoveryDescriptor();
  public readonly configFlow = new HueBleConfigFlow();

  constructor() {
    super(hueBleProfile);
  }
}

export class HomeAssistantHueBleIntegration extends HueBleIntegration {}
