import { SimpleLocalIntegration } from '../../core/index.js';
import { HpIloConfigFlow } from './hp_ilo.classes.configflow.js';
import { createHpIloDiscoveryDescriptor } from './hp_ilo.discovery.js';
import type { IHpIloConfig } from './hp_ilo.types.js';
import { hpIloDomain, hpIloProfile } from './hp_ilo.types.js';

export class HpIloIntegration extends SimpleLocalIntegration<IHpIloConfig> {
  public readonly domain = hpIloDomain;
  public readonly discoveryDescriptor = createHpIloDiscoveryDescriptor();
  public readonly configFlow = new HpIloConfigFlow();

  constructor() {
    super(hpIloProfile);
  }
}

export class HomeAssistantHpIloIntegration extends HpIloIntegration {}
