import { SimpleLocalIntegration } from '../../core/index.js';
import { BryantEvolutionConfigFlow } from './bryant_evolution.classes.configflow.js';
import { createBryantEvolutionDiscoveryDescriptor } from './bryant_evolution.discovery.js';
import type { IBryantEvolutionConfig } from './bryant_evolution.types.js';
import { bryantEvolutionDomain, bryantEvolutionProfile } from './bryant_evolution.types.js';

export class BryantEvolutionIntegration extends SimpleLocalIntegration<IBryantEvolutionConfig> {
  public readonly domain = bryantEvolutionDomain;
  public readonly discoveryDescriptor = createBryantEvolutionDiscoveryDescriptor();
  public readonly configFlow = new BryantEvolutionConfigFlow();

  constructor() {
    super(bryantEvolutionProfile);
  }
}

export class HomeAssistantBryantEvolutionIntegration extends BryantEvolutionIntegration {}
