Enable Automation

Last Updated on : 2022-11-09 02:48:38Copy for LLMView as MarkdownDownload PDF

Used to enable designated automation scenarios in the home.

API address

PUT: /v1.0/homes/{home_id}/automations/{automation_id}/actions/enable

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueFamily ID
automation_idStringuritrueAutomation Scene ID

Return parameter

Parameter nameTypeDescription
resultBooleanActivation status of automation scene
  • true: successful activation
  • false: failed activation

Request example

PUT: /v1.0/homes/242****/automations/53IYSXI3gEn2w3Oc/actions/enable

Return example

true

Error code

For more information, see error code.