import { SimpleLocalIntegration } from '../../core/index.js';
import { BlinksticklightConfigFlow } from './blinksticklight.classes.configflow.js';
import { createBlinksticklightDiscoveryDescriptor } from './blinksticklight.discovery.js';
import type { IBlinksticklightConfig } from './blinksticklight.types.js';
import { blinksticklightDomain, blinksticklightProfile } from './blinksticklight.types.js';

export class BlinksticklightIntegration extends SimpleLocalIntegration<IBlinksticklightConfig> {
  public readonly domain = blinksticklightDomain;
  public readonly discoveryDescriptor = createBlinksticklightDiscoveryDescriptor();
  public readonly configFlow = new BlinksticklightConfigFlow();

  constructor() {
    super(blinksticklightProfile);
  }
}

export class HomeAssistantBlinksticklightIntegration extends BlinksticklightIntegration {}
