|  Developer
Updated on March 8, 2023

hub.modes.switch_to_delay.set

  • Version: 1.0
  • Classes: UI
  • Title: House modes
  • Description: Change “switch delay”
Edit
Field Type Required Description
modeId string + deprecated Id of the mode
switchToDelay integer + Delay (sec) before switch to the mod
Edit
Return empty result or error
  • Version: 2.0
  • Classes: UI
  • Title: House modes
  • Description: Change “switch delay”
Edit
Field Type Required Description
modeId string Removed
Edit
Return empty result or error
Edit
Edit
				
					{
    "method": "hub.modes.switch_to_delay.set",
    "id": "_ID_",
    "params": {
        "switchToDelay": 0
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}