import { SimpleLocalIntegration } from '../../core/index.js';
import { FuturenowConfigFlow } from './futurenow.classes.configflow.js';
import { createFuturenowDiscoveryDescriptor } from './futurenow.discovery.js';
import type { IFuturenowConfig } from './futurenow.types.js';
import { futurenowDomain, futurenowProfile } from './futurenow.types.js';

export class FuturenowIntegration extends SimpleLocalIntegration<IFuturenowConfig> {
  public readonly domain = futurenowDomain;
  public readonly discoveryDescriptor = createFuturenowDiscoveryDescriptor();
  public readonly configFlow = new FuturenowConfigFlow();

  constructor() {
    super(futurenowProfile);
  }
}

export class HomeAssistantFuturenowIntegration extends FuturenowIntegration {}
