import { SimpleLocalIntegration } from '../../core/index.js';
import { MotionBlindsConfigFlow } from './motion_blinds.classes.configflow.js';
import { createMotionBlindsDiscoveryDescriptor } from './motion_blinds.discovery.js';
import type { IMotionBlindsConfig } from './motion_blinds.types.js';
import { motionBlindsDomain, motionBlindsProfile } from './motion_blinds.types.js';

export class MotionBlindsIntegration extends SimpleLocalIntegration<IMotionBlindsConfig> {
  public readonly domain = motionBlindsDomain;
  public readonly discoveryDescriptor = createMotionBlindsDiscoveryDescriptor();
  public readonly configFlow = new MotionBlindsConfigFlow();

  constructor() {
    super(motionBlindsProfile);
  }
}

export class HomeAssistantMotionBlindsIntegration extends MotionBlindsIntegration {}
