diff --git a/src/lib/light.ts b/src/lib/light.ts index c085a59..5da6db4 100644 --- a/src/lib/light.ts +++ b/src/lib/light.ts @@ -394,6 +394,15 @@ export class Light { ); return res; } + /** + * Get the movie config from the device + * + * @returns response from device + */ + async getMovieConfig() { + let res = await this.sendGetRequest("led/movie/config", {}); + return res; + } /** * Send a movie to the device * @@ -595,7 +604,7 @@ export class Light { } /** * Get network status - * + * * @returns response from device */ async getNetworkStatus(): Promise { @@ -604,9 +613,9 @@ export class Light { } /** * Set network status - * - * @param status - * @returns + * + * @param status + * @returns */ async setNetworkStatus(status: object): Promise { let res = await this.sendPostRequest("/network/status", status);