Skip to main content

switch_on_sensor

Function switch_on_sensor 

Source
pub async fn switch_on_sensor(
    __arg0: State<ApiState>,
    __arg1: Path<(String, String)>,
    __arg2: Extension<User>,
    key: RequestKey,
) -> Result<(StatusCode, Json<CommandView>), ApiError>
Expand description

Switch a wait step back on, forgetting its strikes. Applied by the master; poll the command for the decision.