mqtt-discovery-types
Version:
Typescript Types For HomeAssistant MQTT Discovery
14 lines (12 loc) • 370 B
TypeScript
import type { BaseEntityDiscovery } from "./BaseEntityDiscovery.ts";
export interface SceneDiscovery extends BaseEntityDiscovery {
/**
* 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;
}