import { SimpleLocalIntegration } from '../../core/index.js';
import { AuroraAbbPoweroneConfigFlow } from './aurora_abb_powerone.classes.configflow.js';
import { createAuroraAbbPoweroneDiscoveryDescriptor } from './aurora_abb_powerone.discovery.js';
import type { IAuroraAbbPoweroneConfig } from './aurora_abb_powerone.types.js';
import { auroraAbbPoweroneDomain, auroraAbbPoweroneProfile } from './aurora_abb_powerone.types.js';

export class AuroraAbbPoweroneIntegration extends SimpleLocalIntegration<IAuroraAbbPoweroneConfig> {
  public readonly domain = auroraAbbPoweroneDomain;
  public readonly discoveryDescriptor = createAuroraAbbPoweroneDiscoveryDescriptor();
  public readonly configFlow = new AuroraAbbPoweroneConfigFlow();

  constructor() {
    super(auroraAbbPoweroneProfile);
  }
}

export class HomeAssistantAuroraAbbPoweroneIntegration extends AuroraAbbPoweroneIntegration {}
