Searched refs:requested_state (Results 1 – 4 of 4) sorted by relevance
92 std::string requested_state; in OnLockSetConfig() local93 if (params.GetString("lockedState", &requested_state)) { in OnLockSetConfig()94 LOG(INFO) << cmd->GetName() << " state: " << requested_state; in OnLockSetConfig()98 if (!weave::StringToEnum(requested_state, &new_lock_status)) { in OnLockSetConfig()110 LOG(INFO) << "Lock is now: " << requested_state; in OnLockSetConfig()
135 std::string requested_state; in OnOnOffSetConfig() local136 if (params.GetString("state", &requested_state)) { in OnOnOffSetConfig()137 LOG(INFO) << cmd->GetName() << " state: " << requested_state; in OnOnOffSetConfig()139 bool new_speaker_status = requested_state == "on"; in OnOnOffSetConfig()
133 requested_state = kwargs.get('state', None)137 if (requested_state is None or138 requested_state == command['state']):
229 std::string requested_state; in OnOnOffSetConfig() local230 if (params.GetString("state", &requested_state)) { in OnOnOffSetConfig()231 LOG(INFO) << cmd->GetName() << " state: " << requested_state; in OnOnOffSetConfig()233 bool new_light_status = requested_state == "on"; in OnOnOffSetConfig()