set_device_on_off
Turn a Growatt solar device on or off remotely using its serial number and type, with a boolean flag for the desired state.
Instructions
Turn a device on or off. Changes state on Growatt's side.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| turn_on | Yes | True to turn on, False to shut down. | |
| device_sn | Yes | Device serial number. | |
| device_type | Yes | Device type such as "min", "sph", "spa", "max", "inv", "wit", "tlx". get_devices returns it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |