import type { BaseComponentDiscovery } from "./BaseEntityDiscovery.ts";
import { MakeEntity } from './utils';

export type SceneDiscovery = MakeEntity<SceneComponentDiscovery>;

export interface SceneComponentDiscovery extends BaseComponentDiscovery {
    platform: 'scene';
    /**
     * The payload that represents the `on` state.
     * @defaultValue 'ON'
     */
    payload_on?: string;

    /**
     * The MQTT topic to publiish `payload_on` to to activate the scene.
     */
    command_topic?: string;
}