|  Developer
Updated on December 2, 2022

isFirmwareUpdateState

  • Condition block for the firmware updating state
  • This feature is available since advanced_scenes/1.14 version.
Edit
Field Type Required Description
blockOptions.method.args.state token + Required state of the firmware updating. Possible values: – firmware downloading from the server – downloading is finished and update is started, – firmware update is done
Edit
Internal error code Message Data
BAD_PARAMS Wrong params, rpc.params.invalid.
Edit
				
					{
      "blockType":"when",
      "blockOptions":{
         "method":{
            "name":"isFirmwareUpdateState",
            "args":{
               "state":"state"
            }
         }
      },
      "fields":[
         {
            "name":"state",
            "type":"token",
            "value":"done"
         }
      ]
}