|  Developer
Updated on November 22, 2021


  • Broadcast after a request was sent to change the house mode. There are four house modes – ‘Home’, ‘Away’, ‘Night’ or ‘Vacation’. For example, ‘Home’ will disable (disarm) your motion detectors so they don’t go off as you walk around. You can customize each mode to suit your own device requirements.
Field Type Required Description
form string + Id of the previous house mode
to string + Id of the new house mode
status string + Progress of the change operation. Can be ‘done’, ‘begin’ or ‘cancel’
switchToDelay integer + Delay in seconds before the hub will make the switch to the new mode.
    "id": "ui_broadcast",
    "msg_subclass": "hub.modes.switched",
    "result": {
        "from": "<modeId>",
        "to": "<modeId>",
        "status": "done",
        "switchToDelay": 0