import { SimpleLocalIntegration } from '../../core/index.js';
import { VizioConfigFlow } from './vizio.classes.configflow.js';
import { createVizioDiscoveryDescriptor } from './vizio.discovery.js';
import type { IVizioConfig } from './vizio.types.js';
import { vizioDomain, vizioProfile } from './vizio.types.js';

export class VizioIntegration extends SimpleLocalIntegration<IVizioConfig> {
  public readonly domain = vizioDomain;
  public readonly discoveryDescriptor = createVizioDiscoveryDescriptor();
  public readonly configFlow = new VizioConfigFlow();

  constructor() {
    super(vizioProfile);
  }
}

export class HomeAssistantVizioIntegration extends VizioIntegration {}
