UNPKG

@joshfarrant/shortcuts-js

Version:
20 lines (19 loc) 458 B
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Set Brightness * @section Actions > Scripting > Device * @icon Brightness * * Sets the device brightness. * * ```js * setBrightness({ * brightness: 75, * }); * ``` */ declare const setBrightness: ({ brightness, }: { /** The brightness percentage value from 0 to 100 */ brightness?: number | undefined; }) => WFWorkflowAction; export default setBrightness;