Set Cover
AI-generatedSummary
Set the cover to open or closed state on a connected NINA Flat Device by specifying the desired cover position.
Inputs
- Close Cover (required) — Boolean flag to close the cover if true, or open the cover if false.
Output shape
a JSON object containing the response from the device's set-cover API endpoint
The response is returned as JSON data retrieved via an HTTP GET request to the device API. Errors can occur if the device is not connected or the command fails.
Examples
Example 1: Close the cover of a NINA Flat Device
Set 'Close Cover' to true and execute the operation to close the device cover.