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

export type SirenDiscovery = MakeEntity<SirenComponentDiscovery>;

export interface SirenComponentDiscovery extends OptionallyStatefulCommandComponentDiscovery {
    platform: 'siren';
    available_tones?: string[];

    command_off_template?: string;

    optimistic?: boolean;

    payload_off?: string;
    payload_on?: string;

    state_off?: string;
    state_on?: string;
    
    support_duration?: boolean;
    support_volume_set?: boolean;

}