Disable automation

Last Updated on : 2023-12-07 03:33:56download

Used to deactivate designated automation scenarios in the home.

API address

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

Request parameter

Parameter nameTypeINRequiredDescription
home_idStringuritrueFamily ID
automation_idStringuritrueAutomation Scene ID

Return parameter

Parameter nameTypeDescription
resultBooleanAutomation scenario deactivation status
  • true: deactivation succeeded
  • false: deactivation failed

Request example

PUT: /v1.0/homes/242****/automations/53IYSXI3gEn2****/actions/disable

Return example

true

Error code

For more information, see error code.