import { SimpleLocalIntegration } from '../../core/index.js';
import { AnthemavConfigFlow } from './anthemav.classes.configflow.js';
import { createAnthemavDiscoveryDescriptor } from './anthemav.discovery.js';
import type { IAnthemavConfig } from './anthemav.types.js';
import { anthemavDomain, anthemavProfile } from './anthemav.types.js';

export class AnthemavIntegration extends SimpleLocalIntegration<IAnthemavConfig> {
  public readonly domain = anthemavDomain;
  public readonly discoveryDescriptor = createAnthemavDiscoveryDescriptor();
  public readonly configFlow = new AnthemavConfigFlow();

  constructor() {
    super(anthemavProfile);
  }
}

export class HomeAssistantAnthemavIntegration extends AnthemavIntegration {}
