UNPKG

mqtt-discovery-types

Version:
17 lines (16 loc) 504 B
import type { BaseEntityDiscovery } from './BaseEntityDiscovery.ts'; /** * @see https://www.home-assistant.io/integrations/camera.mqtt/ */ export interface CameraDiscovery extends BaseEntityDiscovery { /** * The MQTT topic to subscribe to. */ topic: string; /** * The encoding of the image payloads received. * Set to "b64" to enable base64 decoding of image payload. * If not set, the image payload must be raw binary data. */ image_encoding?: 'b64'; }